Cannot load because conv_in.weight expected shape tensor ...
Opened this issue · 2 comments
Hello, i am getting an Cannot load because conv_in.weight expected shape tensor error here.
I've already double checked to have the correct dinov2-large.bin file. See possibly related task Size Mismatch Error for Encoders #10 . But this does not seem to be the issue here.
I have also toyed around with the slashes in the dino path meanwhile, but no help
E:/comfynew/dino/dinov2-large.bin path gives the same error as E:\comfynew\dino\dinov2-large.bin
如果你第一次使用保持repo为默认的路径(facebook/dinov2-large),会自动下载到comfyUI/models/InstantIR/dino 下,并不需要复制粘贴,你这个问题是缺少了config和preprocessor_config文件,不需要bin模型。
If you use the default path for keeping repo (facebook/dinov2-large) for the first time, it will be automatically downloaded to comfyUI/models/InstantIR/dino without the need to copy and paste,Your problem is that the ‘config’ and ‘preprocessor config’ files are missing, and there is no need for the' .bin' model
Many thanks for the answer.
So what is the actual fix? When i change the path back to facebook/dinov2-large, then i still run into the exact same error message. It does not download the dino file.
And you talk about missing config and preprocessor config files. Where are they located, and where do i put them then?
Kind regards
Reiner