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

FileNotFoundError: #19

Closed
lzl60109 opened this issue Apr 13, 2023 · 5 comments
Closed

FileNotFoundError: #19

lzl60109 opened this issue Apr 13, 2023 · 5 comments

Comments

@lzl60109
Copy link

Traceback (most recent call last):
File "run_scripts/gen_expert_demos.py", line 335, in
experiment(exp_specs)
File "run_scripts/gen_expert_demos.py", line 152, in experiment
policy = joblib.load(specs["expert_path"])["policy"]
File "/mnt/liang/miniconda3/envs/py38/lib/python3.8/site-packages/joblib/numpy_pickle.py", line 577, in load
with open(filename, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: './logs/test-gen-hopper-demos/test_gen_hopper_demos_2023_04_13_09_54_46_0000--s-0/params.pkl'

Excuse me, where is this params.pkl file?

@Ericonaldo
Copy link
Owner

Please train your own hopper policy model with our provided scripts and replace the expert_path as the path of your own policy model.

@lzl60109
Copy link
Author

The above error came after I ran this scripts :

python run_experiment -e \exp_specs\gen_expert\hopper.yaml -g 0

So which script you provided can I use to train my own hopper policy?

@Ericonaldo
Copy link
Owner

@Ericonaldo
Copy link
Owner

https://github.com/Ericonaldo/ILSwiss/blob/main/exp_specs/sac/sac_hopper.yaml#L6
Change this term into False (similar for all other scripts)

@lzl60109
Copy link
Author

Thanks, I just saw this property

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