··· import torch from medpalm.model import MedPalm #usage img = torch.randn(1, 3, 256, 256) text = torch.randint(0, 20000, (1, 4096)) model = MedPalm() output = model(text, img) ··· the order of text and img should be reversed
···
import torch
from medpalm.model import MedPalm
#usage
img = torch.randn(1, 3, 256, 256)
text = torch.randint(0, 20000, (1, 4096))
model = MedPalm()
output = model(text, img)
···
the order of text and img should be reversed