"graphbolt/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "eb43489397daf5506494d2cc5eaf7d7ff9dbefff"
Move save/load checkpoint functions to utils
Summary: Move `load_checkpoint`, `save_checkpoint` and `reload_train` from train.py to checkpoint_utils.py Move `get_perplexity` from train.py to utils.py. This will make train.py lighter and allow us to reuse all this utils functionality when fairseq is used as external library. Reviewed By: myleott Differential Revision: D15289607 fbshipit-source-id: 4b7c95225ac22e402bcda3497811361809110df1
Showing
Please register or sign in to comment