sbi-benchmark / sbibm

Simulation-based inference benchmark
https://sbi-benchmark.github.io
MIT License
88 stars 34 forks source link

Refactor to depend on new sbi 0.20.0 #50

Closed janfb closed 1 year ago

janfb commented 1 year ago

refactor sbi run scripts to match the new API of sbi version >=0.20.0.

janfb commented 1 year ago

ready for review @jan-matthis

janfb commented 1 year ago

Thanks for the feedback!

I remove a couple of test files and refactored them into one single sbi test file: test_sbi_run_methods.py

That tests now also inclused sl.

janfb commented 1 year ago

I also changed the requirement to sbi>=0.20.0, as we will likely release a new version that incluces BNRE and SNRE_C soon.

Or do you prefer to fix the setup to one specific sbi version?

jan-matthis commented 1 year ago

Thanks!