Closed rohanbanerjee closed 9 months ago
Hey, I think it's becase of the cupy
package. I created a branch nk/fix-gpu-inference
. There's a new requirements file for gpu inference.
Could you install those reqs and report back if it is working? thanks!
I installed the requirement and it works as expected when gpu
is used. Thanks of the quick fix!
Great, thanks for confirming! 🙌
Hi,
I am running into errors while using
run_inference_single_image.py
under themonai
folder which is now part of the main branch.I am using the command in the format:
When I am using
cpu
for the value of--device
, the inference runs fine. But when I try to use the value asgpu
, the script runs into an error mentioned below (not pasted the whole traceback, can paste if needed):RuntimeError: applying transform <monai.transforms.post.dictionary.Invertd object at 0x7f4b4bf0c970>
To reproduce this, you can run:
Is this a known issue?
TIA