-
Notifications
You must be signed in to change notification settings - Fork 99
How to run Phase 1 #15
Comments
I get the same error and I did the same steps as you. Did you (@njustesen) find any solutions to this? |
you likely need to add |
Specifically try running
|
quick fix that worked for me: copy all files in .../go-explore/robustified/goexplore_py/ into a new folder .../go-explore/robustified/goexplore_py/goexplore_py/. then try to run it again. |
I have similar problems. I could solve some of them but changing all imports somewhat as seen i attached diffs. This however only works in some cases and is not a nice solution either way. It let me run ./phase1_downscaled.sh and ./gen_demo_atari.sh but does not work with phase2_atari.sh (it runs for a bit with the warnings: "Could not import complex_fetch_env, is goexplore_py in PYTHONPATH?" and "Warning: goexplore_py not in PYTHONPATH, some features will be unavailable"). It then crashes by the following, that might be some unrelated issue: *** The MPI_Comm_test_inter() function was called before MPI_INIT was invoked. All this while I get the following for PYTHONPATH: Could it somehow relate to me having multiple python versions? I installed all the requirements on my python3.6 (which is why i changed the shellscripts for me). Your solution and results are inspiring and I want to see if I can improve them with some of the work I have been doing in my PhD, and I am happy that you are wiling to share your code. Just need to get it running first :P Full output in terminal when running ./phase2_atari.sh is: Could not import complex_fetch_env, is goexplore_py in PYTHONPATH? WARNING:tensorflow:From /home/hampus/.local/lib/python3.6/site-packages/horovod/tensorflow/init.py:178: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead. initialized worker 0 Warning: goexplore_py not in PYTHONPATH, some features will be unavailable WARNING:tensorflow:From atari_reset/train_atari.py:109: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead. 2021-04-27 17:11:34.808083: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA |
Never mind. The problem was that you instructed us to do: I still have trouble with: But if I cannot solve that I will open it as a separate issue. |
I have installed the requirements using
pip install -r requirements.txt
andgit clone https://github.com/uber-research/atari-reset atari_reset
. I then run./phase1_downscaled.sh breakout . 500
. I get the following error:What did I do wrong?
The text was updated successfully, but these errors were encountered: