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

Modifying make_env function to enable task information to propagate #41

Open
wants to merge 5 commits into
base: 2.0
Choose a base branch
from

Conversation

nikhilpinnaparaju
Copy link
Collaborator

Modifying make_env function to enable task information to propagate

Copy link
Collaborator

@jsuarez5341 jsuarez5341 left a 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",
Copy link
Collaborator

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 Show resolved Hide resolved
train.py Show resolved Hide resolved
train.py Show resolved Hide resolved
train.py Outdated
make_task_fn = lambda: tasks

# env = nmmo.Env(config)
class MyNMMO(nmmo.Env):
Copy link
Collaborator

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

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

Successfully merging this pull request may close these issues.

2 participants