Skip to content

Commit

Permalink
[CLEANUP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Feb 17, 2024
1 parent c541714 commit 7ebf605
Show file tree
Hide file tree
Showing 5 changed files with 930 additions and 716 deletions.
6 changes: 2 additions & 4 deletions example.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import torch
from medpalm.model import MedPalm

#usage
# usage
img = torch.randn(1, 3, 256, 256)
caption = torch.randint(0, 20000, (1, 1024))

model = MedPalm()
output = model(img, caption)
print(output.shape) # (1, 1024, 20000)


print(output.shape) # (1, 1024, 20000)
4 changes: 3 additions & 1 deletion medpalm/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from medpalm.model import MedPalm
from medpalm.model import MedPalm

__all__ = ["MedPalm"]
Loading

0 comments on commit 7ebf605

Please sign in to comment.