Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
neurips-2021-the-nethack-challenge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nethack
neurips-2021-the-nethack-challenge
Commits
30d7db09
Commit
30d7db09
authored
3 years ago
by
danielle_rothermel
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup the setup instructions
parent
c4bab74c
No related branches found
No related tags found
1 merge request
!12
Update README & Bugfixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-39
33 additions, 39 deletions
README.md
with
33 additions
and
39 deletions
README.md
+
33
−
39
View file @
30d7db09
...
...
@@ -167,49 +167,43 @@ You can add your SSH Keys to your GitLab account by going to your profile settin
```
git clone git@gitlab.aicrowd.com:nethack/neurips-2021-the-nethack-challenge.git
```
3.
**Install**
competition specific dependencies!
3.
**Verify you have dependencies**
for the Nethack Learning Environment
NLE requires
`python>=3.5`
,
`cmake>=3.14`
to be installed and available both when building the
package, and at runtime.
On
**MacOS**
, one can use
`Homebrew`
as follows:
```
bash
$
brew
install
cmake
```
pip install -r requirements
On a plain
**Ubuntu 18.04**
distribution,
`cmake`
and other dependencies
can be installed by doing:
```
bash
# Python and most build deps
$
sudo
apt-get
install
-y
build-essential autoconf libtool pkg-config
\
python3-dev python3-pip python3-numpy git flex bison libbz2-dev
# recent cmake version
$
wget
-O
- https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null |
sudo
apt-key add -
$
sudo
apt-add-repository
'deb https://apt.kitware.com/ubuntu/ bionic main'
$
sudo
apt-get update
&&
apt-get
--allow-unauthenticated
install
-y
\
cmake
\
kitware-archive-keyring
```
4.
Run rollouts with a random agent with
`python test_submission.py`
.
### For setting up the Nethack Learning Environment:
NLE requires
`python>=3.5`
,
`cmake>=3.14`
to be installed and available both when building the
package, and at runtime.
On
**MacOS**
, one can use
`Homebrew`
as follows:
```
bash
$
brew
install
cmake
```
On a plain
**Ubuntu 18.04**
distribution,
`cmake`
and other dependencies
can be installed by doing:
```
bash
# Python and most build deps
$
sudo
apt-get
install
-y
build-essential autoconf libtool pkg-config
\
python3-dev python3-pip python3-numpy git flex bison libbz2-dev
# recent cmake version
$
wget
-O
- https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null |
sudo
apt-key add -
$
sudo
apt-add-repository
'deb https://apt.kitware.com/ubuntu/ bionic main'
$
sudo
apt-get update
&&
apt-get
--allow-unauthenticated
install
-y
\
cmake
\
kitware-archive-keyring
```
Afterwards it's a matter of setting up your environment. We advise using a conda
environment for this:
4.
**Install**
competition specific dependencies!
We advise using a conda environment for this:
```
bash
# Optional: Create a conda env
$
conda create
-n
nle_challenge
python
=
3.8
$
conda activate nle_challenge
$
pip
install
-r
requirements.txt
```
```
bash
$
conda create
-n
nle
python
=
3.8
$
conda activate nle
$
pip
install
nle
```
5.
Run rollouts with a random agent with
`python test_submission.py`
.
Find more details on the
[
original nethack repository
](
https://github.com/facebookresearch/nle
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment