-
Notifications
You must be signed in to change notification settings - Fork 301
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
Sessions in tmux don't use the "curiosity" virtualenv #20
Comments
I have encountered the same problem. |
The same problem, but can solve it using 'child' (-m in train.py) |
@TianyuanYu There should not be any need for child mode. I am able to run it as mentioned in README. @AdamStelmaszczyk You have to install all dependencies on host machine. After that, tmux is being used on your host so that all workers can run in parallel. All the instructions given in README are to be run on the host machine where you want to run the code (and not client). |
I did that, I strictly followed the README. It tells to install e.g. But then, the |
Can you try also passing |
No change, since |
I am sorry -- I realized that later. Can you debug inside your tmux sessions (using pdb or Ipython debugger) as to which version of python is being called inside the tmux window? That should give you hint as to what's going on. I guess it could be due to some |
It will be Python from the host, since the I think this problem was inherited from
|
if use anaconda; comment this line def create_commands(session, num_workers, remotes, env_id, logdir, shell='bash', use sys.executable instead of 'python' executable = '/home/ubuntu/github/noreward-rl/curiosity/bin/python' |
I have the same problem |
First of all, thank you (and your team) for great research and for accompanying it with code.
On the issue:
Running
train.py
will start multipletmux
sessions and there the "curiosity" virtualenv is not used. So unless one installs the same dependencies on the host (but then why to use virtualenv at all), it will error with missing imports or mismatched versions errors.Did you miss to add instructions that set up the "curiosity" virtualenv in new tmux sessions? Or I'm missing something?
The text was updated successfully, but these errors were encountered: