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

If I want to use the the meta-parameters to adapt to new task, what should I do? #55

Open
GeorgeDUT opened this issue Dec 16, 2020 · 2 comments

Comments

@GeorgeDUT
Copy link

I write a new environment (navigation on deterministic map):
(1) I run " python train.py --config xxxx", and get config.json, policy.th.
(2) I run "python test.py -config xxxx", and get results.npz.
But the rewards in results.npz are still very low.
What should I do to use policy.th to fast adapt to a new task?

@tristandeleu
Copy link
Owner

You should use --policy policy.th in test.py to use your trained policy.
That's surprising that you didn't get any error when running test.py without --policy, since this is a required parameter.

@GeorgeDUT
Copy link
Author

I get it. I run test.py with policy.th. But the rewards of valid_return are equal to or even lower than train_return.
Maybe, our environment is not suitable. Thanks.

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

2 participants