• 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
..
config Loading commit data...
csrc Loading commit data...
data Loading commit data...
engine Loading commit data...
layers Loading commit data...
modeling Loading commit data...
solver Loading commit data...
structures Loading commit data...
utils Loading commit data...
__init__.py Loading commit data...