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
docker gotchas #121
Comments
Hey there, thanks for the report! Yeah that is really weird f string not being recognized. It should since py 3.6. The Docker container OS is Ubuntu 14 I suppose? There is actually a Dockerfile in the repo, but the image was built a month ago and quite outdate (see below). I recommend using that Dockerfile and the command in it to build your own locally. That avoids the bin script and sudo commands. We'll update the new setup instructions once the next release is stable. We're actually preparing for v1.1.0 in the coming weeks. The last major PR was merged 2 days ago, so master is stable now, except for PPO and Atari DQN. So, I'd suggest using the master branch for your purpose. Lastly, the Gitbook is here at https://legacy.gitbook.com/book/kengz/slm-lab/details and any edit requests are certainly more than welcomed :) |
Hey, |
update: cause for issue above identified conda activate lab
python run_lab.py also @tycho01 v1.1.0 release is expected on Monday. All release features have been finished and tested, and we're updating docs and new docker build. |
I'll try again then, thank you! :D |
please use the |
ok it's released. master branch is up to date https://github.com/kengz/SLM-Lab/releases/tag/v1.1.0 |
Hi. I tried running this through Docker, and ran into a few gotchas following the gitbook instructions:
bin
somehow gave me permission errors, despite beingroot
. pasting these manually helped as a work-around.sudo
a lot, but the docker container did not recognize this. removing these helped. fwiw, installing sudo helped as well.source activate lab
errored statingsource
was not recognized. I then tried:Trying this line in this
python3
seemed not to yield syntax errors though, so f-strings do seem supported. Weird.I haven't fully gotten this to work, but hopefully some of this may be useful for the tutorial.
I tried looking for the gitbook source in case I could add to the installation instructions based on this, but couldn't find it.
The text was updated successfully, but these errors were encountered: