toriato / stable-diffusion-webui-wd14-tagger

Labeling extension for Automatic1111's Web UI
1.34k stars 235 forks source link

There is always loading the modle #74

Open yameishijianong opened 1 year ago

yameishijianong commented 1 year ago

I want to use the "wd14-vit-v2",the modle I have I've finished downloading but the CMD displays"Loading wd14-vit-v2-git model file from Smilingwolf/wd-v1--vit-tagger-v2"It's stuck here all the time

slashedstar commented 1 year ago

Same, I fixed by copying the contents of models--SmilingWolf--wd-v1-4-swinv2-tagger-v2\blobs to models--SmilingWolf--wd-v1-4-swinv2-tagger-v2\snapshots\e8a736126633b7e60d0ce59930ee8b70642d7560 and renaming the large file to model.onnx and the smaller one to _selectedtags.csv , they were supposed to be symlinks but it randomly stopped working and copying & renaming the files fixed it

yameishijianong commented 1 year ago

I have solved this problem according to your method,But I have encountered a new problem:the CMD displays "ImportError: cannot import name 'InferenceSession' from 'onnxruntime' (unknown location)" what shoul I do?

toomanydev commented 1 year ago

I found deleting the cache folders fixed this for me