Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Update checkpoint.py #299

Merged
merged 2 commits into from
Dec 21, 2018
Merged

Update checkpoint.py #299

merged 2 commits into from
Dec 21, 2018

Commits on Dec 21, 2018

  1. 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'
    ```
    DIYer22 authored Dec 21, 2018
    Configuration menu
    Copy the full SHA
    6573b0a View commit details
    Browse the repository at this point in the history
  2. 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'
    ```
    DIYer22 authored Dec 21, 2018
    Configuration menu
    Copy the full SHA
    e1b58d8 View commit details
    Browse the repository at this point in the history