Loading
Feedback

HappySlice 163

Name

David Busch

Location

Austin, US

Badges

0
0
1

Activity

Aug
Sep
Oct
Nov
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Mon
Wed
Fri

Ratings Progression

Loading...

Challenge Categories

Loading...

Challenges Entered

A new benchmark for Artificial Intelligence (AI) research in Reinforcement Learning

Latest submissions

See All
graded 9052
graded 8888
graded 8880
Gold 0
Silver 0
Bronze 1
Trustable
May 16, 2020

Badges

  • Has filled their profile page
    May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020

  • May 16, 2020
Participant Rating
Participant Rating
HappySlice has not joined any teams yet...

Unity Obstacle Tower Challenge

Docker Image Not Building/Running Correctly

About 1 year ago

Mohanty, is there an updated guide somewhere, or a good resource on this?

I added the environment.yaml file and now I am getting the following:

Step 41/48 : RUN conda env update -p ${NB_PYTHON_PREFIX} -f "environment.yml" && conda clean -tipsy && conda list -p ${NB_PYTHON_PREFIX} && rm -rf /srv/conda/pkgs
 ---> Running in abf80ea109d7
Collecting package metadata: ...working... done
Solving environment: ...working... failed

ResolvePackageNotFound: 
  - python==3.6.8=haf84260_0
  - sqlite==3.27.2=ha441bb4_0
  - readline==7.0=h1de35cc_5
  - pyrsistent=py36h1de35cc_0
  - libffi==3.2.1=h475c297_4
  - tk==8.6.8=ha441bb4_0
  - ncurses==6.1=h0a44026_1
  - openssl==1.1.1b=h1de35cc_1
  - xz==5.2.4=h1de35cc_4
  - tornado==6.0.2=py36h1de35cc_0
  - zlib==1.2.11=h1de35cc_3
  - libgfortran==3.0.1=h93005f0_2
  - libedit==3.1.20181209=hb402a30_0
  - freetype==2.9.1=hb4e5f40_0
  - jpeg==9b=he5867d9_2
  - libcxx==4.0.1=hcfea43d_1
  - ninja==1.9.0=py36h04f5b5a_0
  - c-ares==1.15.0=h1de35cc_1
  - libtiff==4.0.10=hcb84e12_2
  - libcxxabi==4.0.1=hcfea43d_1
  - mkl_random==1.0.2=py36h27c97d8_0
  - libprotobuf==3.6.1=hd9629dc_0
  - h5py==2.9.0=py36h3134771_0
  - tensorflow==1.12.0=mkl_py36h2b2bbaf_0
  - swig==3.0.12=h1cb45b9_3
  - libpng==1.6.36=ha441bb4_0
  - tensorboard==1.12.2=py36haf313ee_0
  - tensorflow-base==1.12.0=mkl_py36h70e0e9a_0
  - cffi==1.12.2=py36hb5b8e2f_1
  - hdf5==1.10.4=hfa1e0ec_0
  - mkl_fft==1.0.10=py36h5e564d8_0
  - zstd==1.3.7=h5bba6e5_0
  - pcre==8.43=h0a44026_0

Removing intermediate container abf80ea109d7
The command '/bin/sh -c conda env update -p ${NB_PYTHON_PREFIX} -f "environment.yml" && conda clean -tipsy && conda list -p ${NB_PYTHON_PREFIX} && rm -rf /srv/conda/pkgs' returned a non-zero code: 1The command '/bin/sh -c conda env update -p ${NB_PYTHON_PREFIX} -f "environment.yml" && conda clean -tipsy && conda list -p ${NB_PYTHON_PREFIX} && rm -rf /srv/conda/pkgs' returned a non-zero code: 1
Traceback (most recent call last):
  File "/anaconda3/envs/unity-env/lib/python3.6/site-packages/repo2docker/__main__.py", line 340, in main
    r2d.start()
  File "/anaconda3/envs/unity-env/lib/python3.6/site-packages/repo2docker/app.py", line 687, in start
    self.build()
  File "/anaconda3/envs/unity-env/lib/python3.6/site-packages/repo2docker/app.py", line 673, in build
    raise docker.errors.BuildError(l['error'], build_log='')
docker.errors.BuildError: The command '/bin/sh -c conda env update -p ${NB_PYTHON_PREFIX} -f "environment.yml" && conda clean -tipsy && conda list -p ${NB_PYTHON_PREFIX} && rm -rf /srv/conda/pkgs' returned a non-zero code: 1(unity-env) Davids-MBP:submission-tower-challenge davoo$ 7~
-bash: 7~: command not found

Any assistance is appreciated.
Thanks.

Docker Image Not Building/Running Correctly

About 1 year ago

I created the docker image using the guide and build.sh.
Running the docker command:
docker run --rm --env OTC_EVALUATION_ENABLED=true --env OTC_DEMO_EVALUATION=true --network=host -it obstacle_tower_challenge:latest ./run.sh

produces the following error:

root
Traceback (most recent call last):
  File "run.py", line 1, in <module>
    from obstacle_tower_env import ObstacleTowerEnv
  File "/home/aicrowd/obstacle_tower_env.py", line 2, in <module>
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'

And as a result, my submission times out and my agent never runs.

My requirements.txt file has the following

git+git://github.com/Unity-Technologies/obstacle-tower-env@v2.2
aicrowd-repo2docker

I tried adding pillow and specific versions of pillow, but Pillow seems to get installed as a prereq for obstacle-tower-env as it also requires ml-agents.

Does anyone have any suggestions?

[Admin] Good News for Dopamine Lovers!

Over 1 year ago

In which script do you override that? I am having difficulties uploading my 4.6GB observation file, but as of now my agent doesn’t seem to perform as if it were trained unless it loads the observation data.

Edit:
Search project wasn’t working for me, I found it in the last method, “unbundle”, of dqn_agent.py

Submission Dir Structure/Files

Over 1 year ago

Yes. I run into that problem too, even using Tower to push, which solved my initial LFS problems. I’m not sure how to push. This is the error I JUST got once again:

Pushing to git@gitlab.aicrowd.com:HappySlice/submission-tower-challenge.git
Connection to gitlab.aicrowd.com closed by remote host.
batch response: Authentication required: Authorization error: http://gitlab.aicrowd.com/HappySlice/submission-tower-challenge.git/info/lfs/objects/batch
Check that you have proper access to the repository
error: failed to push some refs to ‘git@gitlab.aicrowd.com:HappySlice/submission-tower-challenge.git’

Submission Dir Structure/Files

Over 1 year ago

Putting everything in the root of your project repo is the way to go. I overthought it. The steps they list are confusing, just put run.sh in the most top part of your repository

Submission Dir Structure/Files

Over 1 year ago

The problem I’m currently running into is the actual folder structure of the submission to correctly execute.

I am currently receiving an error during submission:

2019-04-28T16:27:12.67245541Z bash: /home/aicrowd/run.sh: No such file or directory

So should we have the run.sh file in:

<.your project root folder.>/home/aicrowd/

Or is home regarded the same as root?:

<.your project root folder.>/aicrowd/

I copied run.sh in both places and the same error is being thrown, so I’m not sure what to try next.

Submission Dir Structure/Files

Over 1 year ago

I had problems with Git LFS working and I just followed this guide and created an entirely new repo on gitlab and the large files uploaded.

Docker Not Running Environment

Over 1 year ago

I built the docker image in the obstacle-tower-challenge folder. When I run the docker code provided for ./run.sh, the agent correctly starts.

obstacle-tower-challenge davoo$ docker run   --env OTC_EVALUATION_ENABLED=true   --network=host   -it obstacle_tower_challenge:latest ./run.sh
root
INFO:mlagents_envs:Start training by pressing the Play button in the Unity Editor.

When I run this command to start the environment
docker run --env OTC_EVALUATION_ENABLED=true --env OTC_DEMO_EVALUATION=true --network=host -it obstacle_tower_challenge:latest ./env.sh
It just spits out what the console would spit out if I were to run env.sh then the console goes back to accepting input and the agent times out waiting for the Unity Editor to start.
`+ ENV_PORT=

  • ENV_FILENAME=
  • ‘[’ -z ‘’ ‘]’
  • ENV_PORT=5005
  • ‘[’ -z ‘’ ‘]’
  • ENV_FILENAME=./ObstacleTower/obstacletower.x86_64
  • touch otc_out.json
  • APP_PID=10
  • xvfb-run --auto-servernum ‘–server-args=-screen 0 640x480x24’ ./ObstacleTower/obstacletower.x86_64 --port 5005 2
  • TAIL_PID=11
  • wait 10
  • tail -f otc_out.json`

I have no experience with docker. Any tips? Thanks.

Using dopamine trained model

Over 1 year ago

To clarify. Does one just move the saved models to the base_dir and enter the command as if they were going to train except set the training steps to 1?

Using dopamine trained model

Over 1 year ago

How do you load the model? I’m not finding any references on how to do that

HappySlice has not provided any information yet.