neurips-2021-the-nethack-challenge merge requestshttps://gitlab.aicrowd.com/nethack/neurips-2021-the-nethack-challenge/-/merge_requests2022-04-06T00:23:29Zhttps://gitlab.aicrowd.com/nethack/neurips-2021-the-nethack-challenge/-/merge_requests/22Fix nle version at requirement.txt2022-04-06T00:23:29Zyoon_jaeseokFix nle version at requirement.txtBecause current `nle` module version is up to `0.8.x`,
I got some issue with shape of model like below when I test with `test_submission.py`.
So, I think we need to set version to `0.7.3` like docker environment you provide.
```
Trac...Because current `nle` module version is up to `0.8.x`,
I got some issue with shape of model like below when I test with `test_submission.py`.
So, I think we need to set version to `0.7.3` like docker environment you provide.
```
Traceback (most recent call last):
File "test_submission.py", line 36, in <module>
evaluate()
File "test_submission.py", line 25, in evaluate
agent = Agent(num_envs, batched_env.num_actions)
File "/home/jake/workspace/neurips-2021-the-nethack-challenge/agents/torchbeast_agent.py", line 20, in __init__
self.model = load_model(MODEL_DIR, self.device)
File "/home/jake/workspace/neurips-2021-the-nethack-challenge/nethack_baselines/torchbeast/models/__init__.py", line 55, in load_model
model.load_state_dict(checkpoint_states["model_state_dict"])
File "/home/jake/anaconda3/envs/nle_challenge/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1406, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for BaselineNet:
size mismatch for policy_logits_mask: copying a param with shape torch.Size([113]) from checkpoint, the shape in current model is torch.Size([121]).
size mismatch for policy.weight: copying a param with shape torch.Size([113, 256]) from checkpoint, the shape in current model is torch.Size([121, 256]).
size mismatch for policy.bias: copying a param with shape torch.Size([113]) from checkpoint, the shape in current model is torch.Size([121]).
```https://gitlab.aicrowd.com/nethack/neurips-2021-the-nethack-challenge/-/merge_requests/5WIP: Add rllib agent and rollout script2021-06-28T12:18:31Zrobert_kirkWIP: Add rllib agent and rollout scriptMake repository a package
This will enable the rllib stuff to run correctly, remove some weird
path hacking, and is generally a better development strategy
We batch rollout evaluations, like in the standard rollout script.
Currently n...Make repository a package
This will enable the rllib stuff to run correctly, remove some weird
path hacking, and is generally a better development strategy
We batch rollout evaluations, like in the standard rollout script.
Currently needs a docker container with at least 2.5 Gb RAM, otherwise
it crashes.
An example of a successful submission (of an admittedly very bad agent)
can be seen here: https://gitlab.aicrowd.com/robert_kirk/neurips-2021-nethack-challenge/-/issues/12https://gitlab.aicrowd.com/nethack/neurips-2021-the-nethack-challenge/-/merge_requests/16Update submission utlity script2021-06-10T11:45:13Zjyotishjyotish@aicrowd.comUpdate submission utlity script