Open Thedatababbler opened 5 days ago
Hi,
I think you should transfer the numpy array to torch tensor, like torch.from_numpy(image)
Now I have this message:
`
Traceback (most recent call last):
File "/root/projects/test/M3D/medclip.py", line 36, in
KeyError: 4
`
Hi, thank you for your awesome works. However, when I was trying to run the M3DClip model using code on huggingface I have some errors related to the einops lib. I noticed you use the monai ViT layers to implement the M3DClip, that might be the problem.
Code I ran:
error message: