Coder Social home page Coder Social logo

Comments (10)

xiyangyang99 avatar xiyangyang99 commented on June 11, 2024

OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like pretrained_models/clip-vit-base-patch32-projection is not the path to a directory containing a file named config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'. ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 1402) of binary: /usr/bin/python

huggingface在国内被墙了,服务器没有代理,我想要下载下来放到服务器上利用本地文件加载,请问需要修改哪些内容

镜像是个好东西。

from yolo-world.

997897336 avatar 997897336 commented on June 11, 2024

OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like pretrained_models/clip-vit-base-patch32-projection is not the path to a directory containing a file named config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'. ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 1402) of binary: /usr/bin/python
huggingface在国内被墙了,服务器没有代理,我想要下载下来放到服务器上利用本地文件加载,请问需要修改哪些内容

镜像是个好东西。

哥们加个wx好友不哈哈哈

from yolo-world.

xiyangyang99 avatar xiyangyang99 commented on June 11, 2024

from yolo-world.

wondervictor avatar wondervictor commented on June 11, 2024

Thanks for your interest. If you have any questions about YOLO-World in the future, you're welcome to open a new issue.

from yolo-world.

wavelet2008 avatar wavelet2008 commented on June 11, 2024

到底放在哪个路径

from yolo-world.

taofuyu avatar taofuyu commented on June 11, 2024

到底放在哪个路径

YOLO-WORLD目录下建个文件夹pretrained_models。再翻墙把https://huggingface.co/openai/clip-vit-base-patch32/tree/main下载下来放进去即可

from yolo-world.

SSTato avatar SSTato commented on June 11, 2024

到底放在哪个路径

YOLO-WORLD目录下建个文件夹pretrained_models。再翻墙把https://huggingface.co/openai/clip-vit-base-patch32/tree/main下载下来放进去即可

我已经下载下来了,但是还是不行,是哪里有问题
image

from yolo-world.

wondervictor avatar wondervictor commented on June 11, 2024

@SSTato 我的建议是,你先放到你自己的目录,然后修改config中的model_name为你放模型的本地路经。

from yolo-world.

997897336 avatar 997897336 commented on June 11, 2024

@wondervictor 老板说得对

from yolo-world.

taofuyu avatar taofuyu commented on June 11, 2024

到底放在哪个路径

YOLO-WORLD目录下建个文件夹pretrained_models。再翻墙把https://huggingface.co/openai/clip-vit-base-patch32/tree/main下载下来放进去即可

我已经下载下来了,但是还是不行,是哪里有问题 image

他config里写的是:
text_model=dict(
type='HuggingCLIPLanguageBackbone',
model_name='pretrained_models/clip-vit-base-patch32-projection',
frozen_modules=['all'])),
所以你下载的东西应该在pretrained_models/clip-vit-base-patch32-projection这个文件夹下面,你缺了个clip-vit-base-patch32-projection。
或者直接随便什么地方建个文件夹把东西放进去,再把这个model_name改了就行了

from yolo-world.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.