-
Notifications
You must be signed in to change notification settings - Fork 8
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
Modifying make_env function to enable task information to propagate #41
base: 2.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, minor changes required
train.py
Outdated
@@ -30,7 +31,7 @@ | |||
help="path to model to load (default: None)") | |||
parser.add_argument( | |||
"--model.type", | |||
dest="model_type", type=str, default="realikun", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid changing default args for testing when possible. Quick check for this is to just run a diff on the train script
train.py
Outdated
make_task_fn = lambda: tasks | ||
|
||
# env = nmmo.Env(config) | ||
class MyNMMO(nmmo.Env): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I said MyNMMO as an indicator to override the class name -- call it TestTaskNMMO or something
Modifying make_env function to enable task information to propagate