jhc13 / taggui

Tag manager and captioner for image datasets
GNU General Public License v3.0
771 stars 37 forks source link

Auto-captioner model is already downloaded but it's still trying to check huggingface (and failing due to it being down) #260

Closed culturedniichan closed 3 months ago

culturedniichan commented 3 months ago

I downloaded long ago all the Florence-2 family models that are available. However, for some time today huggingface.co is down. I tried to run the model, but it's returning an http error because of the connection timeout. It did not actually load the cached model to caption the image.

I suppose it's checking for updates or something like that, but if the model is already in the local cache, I think that at least it should continue with the current model rather than fail. I suppose this could be easily reproduced by isolating taggui from the network, but I experienced it because HF was down.

jhc13 commented 3 months ago

See #229. It's probably an issue with Florence-2 or Hugging Face.