Open mlQwQlm opened 10 months ago
··· import torch from medpalm.model import MedPalm
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
is it solved?
··· 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
Upvote & Fund