caoyunkang / Segment-Any-Anomaly

Official implementation of "Segment Any Anomaly without Training via Hybrid Prompt Regularization (SAA+)".
704 stars 76 forks source link

We couldn't connect to 'https://huggingface.co' to load this file #29

Open ljf12345678910 opened 10 months ago

ljf12345678910 commented 10 months ago

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 bert-base-uncased 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'.这个问题怎么解决

ljf12345678910 commented 10 months ago

使用vscode登录服务器还是运行代码,还是访问不了

liuhengli commented 10 months ago

@ljf12345678910 bert-base-uncased你直接把这个下载下来就可以了

ljf12345678910 commented 10 months ago

下载到一个文件夹后,需要在哪里改动代码吗,

TaoTXiXi commented 7 months ago

下载到一个文件夹后,需要在哪里改动代码吗,

直接把文件放到根级目录下就行