-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot import name 'ImageNetInfo' from 'timm.data' #272
Comments
Yeah I haven't used these nodes in a few weeks and did a git pull and now I'm getting the same error. |
As the error is coming from |
I figured it out. I had to uninstall and reinstall tim. I had 0.6.13, and now I have 1.0.13. pip uninstall timm pip install timm --no-cache-dir. edit: just saw Kijai's post, so came to the same conclusion. you can use the above commands to get there for both. |
Hi, thanks for sharing. |
You would go to the |
this is fixed the issue |
I do not have any error message, as expected. Just a Windows blue screen of death when charging Llama transformers (the second one), it crach after 25% each time. It was working before ConfyUI update. It might be my hardware and I was lucky before. |
I am still getting the error: even after i updated timm. trnasformers are at 4.48.0 and I tried the suggested "timm-1.0.13" and the newest "timm-1.0.14". And I still get the same error. |
Are you sure you have it updated in the portable python environment? |
There's been some custom node packages in the past that actually downgrade transformers upon launch, can't think of anything else then. I can confirm those versions are working for me: |
Thanks for the response. I will keep tinkering and hopefully I will figure it out. |
Hello, |
I've Tried resetting all nodes and reinstalled timm. Im on windows.
Loading text encoder model (llm) from: C:\Users\x\x\x\ComfyUI_windows_portable\ComfyUI\models\LLM\llava-llama-3-8b-text-encoder-tokenizer
!!! Exception during processing !!! Failed to import transformers.models.timm_wrapper.configuration_timm_wrapper because of the following error (look up to see its traceback):
cannot import name 'ImageNetInfo' from 'timm.data' (C:\Users\x\x\x\ComfyUI_windows_portable\python_embeded\Lib\site-packages\timm\data_init_.py)
Traceback (most recent call last):
File "C:\Users\x\x\x\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\import_utils.py", line 1817, in _get_module
return importlib.import_module("." + module_name, self.name)
The text was updated successfully, but these errors were encountered: