kaymen99 / Robot-arm-control-with-RL

Robot arm control using reinforcement learning algorithms : DDPG and TD3 with hindsight experience replay (HER)
MIT License
35 stars 0 forks source link

Hello,main.py can not run correctly. #4

Open yuantaoran opened 3 months ago

yuantaoran commented 3 months ago

There is a problem at “agent.load_models ()”

ValueError: Unable to load weights saved in HDF5 format into a subclassed Model which has not created its variables yet. Call the Model first, then load the weights.

yuantaoran commented 3 months ago

image

yuantaoran commented 3 months ago

I really want to know the solution to this problem, and look forward to your answer! Thank you very much!