• Lei Yang's avatar
    Update checkpoint.py (#299) · 9b6aa824
    Lei Yang authored
    * Update checkpoint.py
    
    if edit "{save_dir}/last_checkpoint" by vim, "\n" will auto append to the end of file. which will raise 
    
    ```
    FileNotFoundError: [Errno 2] No such file or directory: 'save_dir/model_0060000.pth\n'
    ```
    
    * Update checkpoint.py
    
    if edit "{save_dir}/last_checkpoint" by vim, "\n" will auto append to the end of file. which will raise
    ```
    FileNotFoundError: [Errno 2] No such file or directory: 'save_dir/model_0060000.pth\n'
    ```
    9b6aa824
Name
Last commit
Last update
.github/ISSUE_TEMPLATE Loading commit data...
configs Loading commit data...
demo Loading commit data...
docker Loading commit data...
maskrcnn_benchmark Loading commit data...
tests Loading commit data...
tools Loading commit data...
.flake8 Loading commit data...
.gitignore Loading commit data...
ABSTRACTIONS.md Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
MODEL_ZOO.md Loading commit data...
README.md Loading commit data...
TROUBLESHOOTING.md Loading commit data...
setup.py Loading commit data...