-
Notifications
You must be signed in to change notification settings - Fork 130
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
How to set env_id, model_name in train.py #39
Comments
maybe I can take the following command as an example you have provided in other query: but the error still happened when python main.py simple_tag model on ubuntu 16, the error: all the errors seem related to the "path“. Would you help take a look? |
May I ask if you remember how it was resolved, I had the same problem. Looking forward to your reply, thanks! |
Have you solved this problem, I have also encountered this problem, how to solve it, can you share the solution, looking forward to your answer |
Try removing the -- in front of the command line arguments. |
hi,
I‘m running into the following error:
parser.add_argument("env_id", type=str, default="simple_tag", help="name of the scenario script")
parser.add_argument("model_name", default="./model/",
help="Name of directory to store " +
"model/training contents")
main.py: error: the following arguments are required: env_id, model_name
and when simple run: python main.py --env_id simple_tag --model_name ./model/
the error will be pops up:main.py: error: unrecognized arguments: --env_id --model_name
I am not clear how to set these arguments, would you help leave me an example to add_argument run main.py?
Thanks.
The text was updated successfully, but these errors were encountered: