When I run haar_ant_maze.py some problems occured
Closed this issue · 0 comments
exp_dir = '/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/data/local/Ant-snn'
for dir in os.listdir(exp_dir):
if 'Figure' not in dir and os.path.isfile(os.path.join(exp_dir, dir, 'params.pkl')):
par.pkl_path = os.path.join(exp_dir, dir, 'params.pkl')
print("hier for : ", par.pkl_path)
I chage the path in haar_ant_maze.py,but there are still some problems and i don't know how to fix.
Traceback (most recent call last):
File "/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/scripts/run_experiment_lite.py", line 137, in
run_experiment(sys.argv)
File "/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/scripts/run_experiment_lite.py", line 124, in run_experiment
maybe_iter = concretize(data)
File "/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/rllab/misc/instrument.py", line 1348, in concretize
return method(*args, **kwargs)
File "/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/rllab/algos/batch_polopt.py", line 269, in train
self.warm_start()
File "/home/df/HAAR-A-Hierarchical-RL-Algorithm-master/rllab/algos/batch_polopt.py", line 239, in warm_start
data = joblib.load(pkl_path)
File "/home/df/anaconda3/envs/rllab3/lib/python3.5/site-packages/joblib/numpy_pickle.py", line 567, in load
with open(filename, 'rb') as f:
TypeError: invalid file: None