-
Notifications
You must be signed in to change notification settings - Fork 27
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
Can't seem to run train.py on OS X catalina #8
Comments
What is your python version? |
Python version is: Python 2.7.16 |
Okay so I tried the anaconda way of doing it based on the ReadMe and got this error when trying to run the train.py after installing the necessary dependencies: Traceback (most recent call last): Is there a step that I misread from the readme? Thanks! |
Are you sure the model.py is there beside train.py because that error means it can't see model.py |
the model.py is there, I have made no changes to the original repo |
mmm... I don't get why it can't see that python file. Just try in the python console to import any class from model.py if It can't maybe OSX Catalina has some security issues. |
alright thanks |
There are a few different "Policy" classes defined in model.py, maybe train.py is trying to import a Policy that is not defined in model.py. You might get away with commenting out the offending import. |
So that tip was helpful, I got rid of the FullyConvPolicyBigMap issue, but now my new issue is that its looking for a file called policy. Is there one that should be there that I'm missing, or is it something else entirely? Traceback (most recent call last): |
You must be on the experimental FractalNet branch. |
Yup, I was trying to understand what is happening because that code looks old with some new one. |
Okay thanks! Maybe thats where all my issues are stemming from |
I just tried cloning a fresh repository, and can confirm that was on the master branch, and code was able to run (after making a 'runs' directory to log training progress). You must have accidentally switched branches somehow. |
Hello,
I tried to run the train.py file when playing around with the project, and can't seem to run it. When I try to run it through terminal with everything installed i get the error:
File "train.py", line 81
**kwargs,
^
SyntaxError: invalid syntax
I double checked and all my pythons, pips, tensorflow and stable-baseline are up to date.
So I tried it through docker. However, when I try to run it through docker I get this: docker: Error response from daemon: Unknown runtime specified nvidia.
I've tried searching for other ways to run it and I can't seem to find anything. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: