kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
88 stars 31 forks source link

`statics_kwargs` vs `runtime_kwargs` #208

Open qin-yu opened 6 months ago

qin-yu commented 6 months ago

What is the significance to have both keyword args in functions such as start_prediction_process() @lorenzocerrone

qin-yu commented 4 months ago

Hey @wolny @lorenzocerrone can these be merged into one dict or do they have different roles?

lorenzocerrone commented 4 months ago

There is a difference when exporting the DAG for the headless execution. The statics_kwargs are the pipeline parameters, while the runtime_kwargs are the inputs to the pipeline (the images). I think it's essential to keep them separate for now. We can change them when we decide how to redesign the headless mode.