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

Issue about version of sbi package #94

Closed
WangYuxiang8 opened this issue Apr 14, 2022 · 4 comments
Closed

Issue about version of sbi package #94

WangYuxiang8 opened this issue Apr 14, 2022 · 4 comments

Comments

@WangYuxiang8
Copy link

Hi, may i ask which version of sbi package the lastest pyrado project use? I notice the lastest sbi version==0.18.0 has some change to interface, which is not adaptive in current pyrado.

Best wish.

@famura
Copy link
Owner

famura commented Apr 19, 2022

Hi @WangYuxiang8,

it's been a while since I used sbi. I remember that we did the experiments for our CoRL paper with verion 0.11 and 0.12.

You can easily swich versions when (re-)installing the packages building upon torch, see this line and the one 2 lines below. After editing you can activate the environment (uninstall sbi) and run

python setup_deps.py pytorch_based

Let me know if you still face any issues.

@famura
Copy link
Owner

famura commented Apr 19, 2022

Did you try the scripts/sandbox/sb_sbi.py example script? On my Ubuntu 20.04 laptop it works with sbi==0.18 and the Sacher option, i.e., torch from pip.

@WangYuxiang8
Copy link
Author

Hi @famura

Thanks for explaining! sbi==0.12.0 works well from me.

Close the issue.

@famura
Copy link
Owner

famura commented Apr 21, 2022

Hi @WangYuxiang8

I am glad to hear that and happy to help if you have any further questions.

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