miaoshouai / ComfyUI-Miaoshouai-Tagger

MIT License
278 stars 17 forks source link

We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like microsoft/Florence-2-base-ft is not the path to a directory containing a file named processing_florence2.py. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'. #23

Open hansh2020 opened 2 months ago

hansh2020 commented 2 months ago

Hi, im new here I am unable to find a solution to the following problem, please help me, thanks

  1. Error: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like microsoft/Florence-2-base-ft is not the path to a directory containing a file named processing_florence2.py. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
miaoshouai commented 2 months ago

update the node and model to the latest version

hansh2020 commented 1 month ago

节点和模型都是最新版本还是不行,是不是需要科学上网?

richuyouyaojie commented 1 month ago

update the node and model to the latest version

updated to the 29/9 version,but it still did not work

miaoshouai commented 1 month ago

10/9 - the new 1.31 version had this problem resolved. Now you should be able to run the model locally without needing access to huggingface once it's downloaded. update the node to 1.31 and also update the model to the latest (more specifically, update the config.json and preprocessor_config.json files). You can get the latest model download link from baidu drive if you can't access huggingface