NVIDIA / monai-cloud-api

MONAI Cloud API developments for intelligent imaging and learning tools, fostering innovation in medical imaging and AI-driven services.
Apache License 2.0
24 stars 12 forks source link

add the batch infer notebook #50

Closed binliunls closed 6 months ago

binliunls commented 7 months ago

Fixes #49

binliunls commented 6 months ago

Thank you @binliunls for preparing this notebook. May I know where you define datasets_info? On the backend, it seems to be a required field in the specs, right?

datasets_info = self.spec.pop("datasets_info", None)
upload_info = datasets_info.get("inference", None) if datasets_info else None
if upload_info is None:
    raise ValueError("Cannot run batch inference without upload info.")

Hi @drbeh , This one is defined in the backend instead of the API side. And I think we'd better not expose any code of the backend. Please ping me offline, so we can talk about this issue.

Thanks, Bin