sbi-benchmark / sbibm

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

Adding observations for a new task #51

Closed guillametlucia closed 1 year ago

guillametlucia commented 1 year ago

Hi, i'm implementing a new task for a university project but i cannot seem to find the way to input my epxerimental data/observations. Do i add the csv file manually? Or is it meant to be created by the simulator? thank you

jan-matthis commented 1 year ago

For existing tasks, data/observations are created by calling task._setup, see https://github.com/sbi-benchmark/sbibm/blob/main/sbibm/tasks/task.py#L418-L462