showlab / Image2Paragraph

[A toolbox for fun.] Transform Image into Unique Paragraph with ChatGPT, BLIP2, OFA, GRIT, Segment Anything, ControlNet.
Apache License 2.0
789 stars 53 forks source link

The GRIT integration doesn't work #8

Open rccchoudhury opened 1 year ago

rccchoudhury commented 1 year ago

hi - i think there may be an issue with the grit integration; there's no git .submodules file so the repo doesn't know about GRIT at all and running the code as is returns the error :

ModuleNotFoundError: No module named 'models.grit.image_dense_captions'

FingerRec commented 1 year ago

It should be work now, thanks for report the bug.