module 'baselines.deepq' has no attribute 'load' #3652
Replies: 3 comments
-
@googlemike def callback(lcl, glb):
# stop training if reward exceeds 199
total = sum(lcl['episode_rewards'][-101:-1]) / 100
totalt = lcl['t']
#print("totalt")
#print(totalt)
is_solved = totalt > 2000 and total >= 10
return is_solved
load_path = 'kuka_model.pkl'
act = deepq.learn(env, network='mlp',lr=1e-3,total_timesteps=0,
buffer_size=50000,print_freq=10,load_path=load_path,callback=callback) it is not a good solution, but can save this problem. |
Beta Was this translation helpful? Give feedback.
-
Hi, I test the code again. It seems that no error about baselines.
It means that I should run train_kuka_grasping.py, then run enjoy_kuka_grasping.py? |
Beta Was this translation helpful? Give feedback.
-
yes, you are right! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am new to pybullet and baselines, so sorry, if I am asking a unnecessary question.
When I run the enjoy_kuka_grasping.py, some errors happens.
It shows that ### module 'baselines.deepq' has no attribute 'load'.
Maybe is
Is there someone tell me how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions