ElegantRL
ElegantRL copied to clipboard
where is train_and_evaluate function?
i can not find this function
too
Hi, where did you see train_and_evaluate function mentioned? I think it refers to train_agent() in run.py in elegantrl and Helloworld. The training process involves training and evaluating.
Hi, where did you see train_and_evaluate function mentioned? I think it refers to
train_agent()inrun.pyin elegantrl and Helloworld. The training process involves training and evaluating.
It's mentioned in a couple of files in folder examples, e.g. examples/demo_DDPG_H.py, examples/demo_Isaac_Gym.py, examples/demo_PPO_H.py.
i can not find this function
Did you fix the problem? I'm facing the same problem.
@wanghia @QimingRen1
See this pull request 2 years ago.
https://github.com/AI4Finance-Foundation/ElegantRL/pull/239#issuecomment-1340286821
It seems that train_and_evaluate has been renamed to train_agent.
Change the code to from elegantrl.train.run import train_agent works in my case.
@stellawang196 Maybe you can modify the import code in some files, since train_and_evaluate doesn't work any more.