Closed Atoli closed 1 year ago
Same error here. But I found its little tricky, this error appear time to time. I am doing more tests to figure out how to replicate it reliably.
After a quick check, what I found:
There were errors initially, with the model_path for some, so I kind of fixed it, but indeed it may be a hack, I will have a look. It's just that the model_path may be a local path or a huggingface url path part. There do exist models that are not on huggingface and there does not seem to be a tightly followed standard in the file naming. You can also just send a pr and help out.
As what I guess:
I wish this is helpful. Cheers.
yes, I came to something similar, make one model_path a local_path, namely the one assigned in refresh_interrogators()
, and only for WaifuDiffusionInterrogator, but I think there is one more change necessary.
I did test with ML-Danbooru Caformer dec-5-97527, same error happened too. So at least MLDanbooruInterrogator should be fixed as well.
so how about now? I must say I didn't try before, but I don't get the error now.
WaifuDiffusionInterrogator related interrogators get fixed, but MLDanbooruInterrogator related interrogators (ML-Danbooru Caformer dec-5-97527 & ML-Danbooru TResNet-D 6-30000) still has the same errors as before.
How to replicate:
Note:
thanks, it seems fixed now also for ML Danbooru
Yes, I have finished some tests and my testing results show all interrogators for both MLDanbooruInterrogator & WaifuDiffusionInterrogator works fine after unload.
Thanks for your excellent work!
Thank you too, for the clear reporting.
When tried to use moat tagger i got the following error:
All other models load normally.