-
Notifications
You must be signed in to change notification settings - Fork 554
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
Issue SMAC algorithm #146
Comments
@ijmarrero Thanks for bringing up this issue. I must not have caught this when merging this code in. I'll work on testing this further, but it may take me a while. In the meantime: For the first issue, please add this to
For the second issue, please add this to
|
Thanks @vitchyr I have just fixed the code but I new issues arise. Traceback (most recent call last): |
@ijmarrero this should be fixed with #147 . Let me know if you have any other issues |
Hi Vitchyr,
Thanks a lot!. I am running it again
Best
El mar, 12 oct 2021 a las 0:57, Vitchyr Pong ***@***.***>)
escribió:
… @ijmarrero <https://github.com/ijmarrero> this should be fixed with #147
<#147> . Let me know if you
have any other issues
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#146 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AVYYF63JZN5IAIOOS7AZTDTUGNTVLANCNFSM5EV2WDQA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I am having code issues with SMAC implementation (pull request #137)
Traceback (most recent call last):
File "examples/smac/generate_ant_data.py", line 74, in
main()
File "examples/smac/generate_ant_data.py", line 70, in main
use_gpu=gpu,
File "/home/ubuntu/rlkit-master/rlkit/launchers/launcher_util.py", line 605, in run_experiment
**run_experiment_kwargs
File "/home/ubuntu/rlkit-master/rlkit/launchers/launcher_util.py", line 174, in run_experiment_here
return experiment_function(**raw_variant)
File "/home/ubuntu/rlkit-master/rlkit/torch/smac/pearl_launcher.py", line 173, in pearl_experiment
algorithm.train()
File "/home/ubuntu/rlkit-master/rlkit/core/meta_rl_algorithm.py", line 303, in train
self.enc_replay_buffer.task_buffers[task_idx].clear()
AttributeError: 'SimpleReplayBuffer' object has no attribute 'clear'
and
Traceback (most recent call last):
File "examples/smac/generate_ant_data.py", line 74, in
main()
File "examples/smac/generate_ant_data.py", line 70, in main
use_gpu=gpu,
File "/home/ubuntu/rlkit-master/rlkit/launchers/launcher_util.py", line 605, in run_experiment
**run_experiment_kwargs
File "/home/ubuntu/rlkit-master/rlkit/launchers/launcher_util.py", line 174, in run_experiment_here
return experiment_function(**raw_variant)
File "/home/ubuntu/rlkit-master/rlkit/torch/smac/pearl_launcher.py", line 173, in pearl_experiment
algorithm.train()
File "/home/ubuntu/rlkit-master/rlkit/core/meta_rl_algorithm.py", line 436, in train
self.trainer.train(batch)
File "/home/ubuntu/rlkit-master/rlkit/torch/torch_rl_algorithm.py", line 40, in train
self.train_from_torch(batch)
File "/home/ubuntu/rlkit-master/rlkit/torch/smac/pearl.py", line 184, in train_from_torch
action_distrib.rsample_logprob_and_pretanh()
AttributeError: 'TanhNormal' object has no attribute 'rsample_logprob_and_pretanh'
The text was updated successfully, but these errors were encountered: