ElegantRL icon indicating copy to clipboard operation
ElegantRL copied to clipboard

Many import errors in examples

Open niceban opened this issue 2 years ago • 2 comments

image in "demo_mujoco_draw_obj_h.py"

image in "demo_Isaac_Gym.py"

image in "demo_DDPG_H.py"

image in "demo_vec_env_A2C_PPO.py"

image in "demo_PPO_H.py"

image in "demo_PaperTradingEnv_PPO.py"

image in "demo_mujoco_render.py"

image in "tutorial_LunarLanderContinous-v2.py"

image in "tutorial_Hopper-v3.py"

image in " tutorial_Hopper-v2_H.py"

niceban avatar Feb 28 '23 02:02 niceban

We have updated these bugs for the main algorithms (DQN, DoubleDQN, DualingDQN, D3QN, DDPG, TD3, SAC and PPO), the algorithm related to Hterm has not been updated (DDPG_H, PPO_H), thank you for the reminder, I will take the time to change these codes.

Yonv1943 avatar Mar 01 '23 11:03 Yonv1943

also the "tutorial_LunarLanderContinous-v2.py" contains these errors, "Arguments" being one of them and the other being "train_and_evaluate" which is nowhere in the imports. arguments i changed too Config which seems to have worked after changing env-func to env_class or at least i think it worked, cant be certain without running train_and_evaluate, which i cant run

mikeair8 avatar Mar 11 '23 15:03 mikeair8