-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
MONAI bundle from model zoo can be exported:
python -m monai.bundle trt_export --net_id network_def --filepath wholeBody_ct_segmentation/models/model_trt.ts --ckpt_file wholeBody_ct_segmentation/models/model.pt --meta_file wholeBody_ct_segmentation/configs/metadata.json --config_file wholeBody_ct_segmentation/configs/inference.json --precision fp32 --use_trace "True"
In this case weights are stored in a constants folder in model_trt.ts.
However, deploy sdk expects weights in a data folder:
if pivot != -1 and not prefix_data and file_name[pivot:].startswith("/data/"): |
this means the exported model_trt.ts is not usable with deploy sdk.
So my question is:
Is there a process to export bundles from model-zoo to torch script models that can be used in the monai deploy sdk?