Hello,
I tried to install your package but unfortunate I got the following error.
`import torch
from pali import Pali
model = Pali()
img = torch.randn(1, 3, 256, 256) # Image tensor
prompt = torch.randint(0, 256, (1, 1024)) # Text integer tensor
output_text = torch.randint(0, 256, (1, 1024)) # Target Text integer tensor
out = model.forward(img, prompt, output_text, mask=None)
print(out)`
Error:
result = self.ul2(prompt, output, mask=mask, src_prepend_embeds=img_embeds)
AttributeError: 'Pali' object has no attribute 'ul2'
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too