Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is train_and_evaluate function? #343

Open
wanghia opened this issue Dec 12, 2023 · 5 comments
Open

where is train_and_evaluate function? #343

wanghia opened this issue Dec 12, 2023 · 5 comments

Comments

@wanghia
Copy link

wanghia commented Dec 12, 2023

i can not find this function

@QimingRen1
Copy link

too

@stellawang196
Copy link
Contributor

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.

@HiFei4869
Copy link

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.

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.

@HiFei4869
Copy link

i can not find this function

Did you fix the problem? I'm facing the same problem.

@HiFei4869
Copy link

@wanghia @QimingRen1

See this pull request 2 years ago.
#239 (comment)
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants