Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练的时候出现RuntimeError !! #115

Open
ymtupup opened this issue Apr 14, 2021 · 2 comments
Open

训练的时候出现RuntimeError !! #115

ymtupup opened this issue Apr 14, 2021 · 2 comments

Comments

@ymtupup
Copy link

ymtupup commented Apr 14, 2021

image

@xiaolihuangxiaoli
Copy link

in main.py:add if name=="main": after checkpoint = utility.checkpoint(args)

@YoTsigkas
Copy link

YoTsigkas commented Jun 4, 2021

in main.py:add if name=="main": after checkpoint = utility.checkpoint(args)

Thank you for the solution! However the correct line of code is: if __name__=="__main__":

The escape character was needed in order for the underscores to be shown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants