Open ViktorM opened 7 years ago
That's interesting. What's the version of argparse?
It might be a windows compatibility issue? I guess it could be resolved by changing the type of seed in run_experiment_lite.py to str, and then convert it to int afterwards.
I'll be able to check argparse version tomorrow and will try your suggestion too. Code with algo.train() call - trpo_cartpole.py, trpo_cartpole_recurrent.py and vpg.py in sandbox/rocky/tf is successfully working and training, a problem occurs only with run_experiment_lite()
1) I have an argparse-1.4.0 2) I was able to start running Theano trpo_cartpole_pickled.py and ddpg_cartpole.py from rllab\examples by making --seed and --n_parallel strings instead of int but it is a bit weird, in my previous experiments, not with rllab, argparse worked the same on Ubunta and Windows 10. 3) Also to run an examples I had to fix paths, as for Window there should be no ':' in paths like C:/somedir 4) Plot=true hasn't been working, I've got:
Process Process-1:
Traceback (most recent call last):
File "C:\Users\vmakoviychuk\AppData\Local\Continuum\Anaconda3\envs\Isaac\lib\multiprocessing\process.py", line 249, in _bootstrap
self.run()
File "C:\Users\vmakoviychuk\AppData\Local\Continuum\Anaconda3\envs\Isaac\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Deep_RL\Isaac\Isaac_GTC\rllab\rllab\plotter\plotter.py", line 27, in _worker_start
msg = queue.get_nowait()
AttributeError: 'NoneType' object has no attribute 'get_nowait'
5) For both scripts I've got an error after the end of the 1st epoch:
Traceback (most recent call last):
File "C:\Deep_RL\Isaac\Isaac_GTC\rllab\scripts/run_experiment_lite.py", line 143, in <module>
run_experiment(sys.argv)
File "C:\Deep_RL\Isaac\Isaac_GTC\rllab\scripts/run_experiment_lite.py", line 127, in run_experiment
method_call(variant_data)
File "ddpg_cartpole.py", line 40, in run_task
algo.train()
File "C:\Deep_RL\Isaac\Isaac_GTC\rllab\rllab\algos\ddpg.py", line 256, in train
logger.save_itr_params(epoch, params)
File "C:\Deep_RL\Isaac\Isaac_GTC\rllab\rllab\misc\logger.py", line 232, in save_itr_params
raise NotImplementedError
Hi @ViktorM, im facing similar problems.. How did you manage to fix paths for Win10? Also, which version of TF were you running if i may ask? Because many tf scripts seems to require Theano, and i'm having trouble tracking down its dependancies, which i don't know if are all necessary. Thank you for your help
All of the scripts trpo_gym_tf_cartpole.py, trpo_gym_tf_cartpole.py, trpo_cartpole_pickled.py, ddpg_cartpole.py stopped working just after the start with the same error message: