Skip to content
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

[BUG] The base folder does not exist under QAnything/models/. Please check your setup #50

Open
2 tasks done
ozbillwang opened this issue Jan 22, 2024 · 4 comments
Open
2 tasks done

Comments

@ozbillwang
Copy link

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

When follow the document

bash run.sh 

got error

bash run.sh
models 文件夹已存在,无需下载。
Checking model directories...
检查模型目录...
The base folder does not exist under QAnything/models/. Please check your setup.
在QAnything/models/下不存在base文件夹。请检查您的模型文件。

Check the folder models, it is empty

How can I prepare the models? any instruction?

期望行为 | Expected Behavior

No response

运行环境 | Environment

- OS: Ubuntu 20.04 / Linux / Amazon ec2 instance g4dn.xlarge
- NVIDIA Driver: 
- CUDA:
- Docker Compose: v2.24.1
- NVIDIA GPU Memory: 

No idea on how to check Nvidia driver , cuda versions, please update in README

QAnything日志 | QAnything logs

Stop at very beginning

复现方法 | Steps To Reproduce

$ git clone https://github.com/netease-youdao/QAnything.git
$ cd QAnything
$ bash run.sh

备注 | Anything else?

No response

@327
Copy link

327 commented Jan 23, 2024

确实,我也遇到同样问题,不知道是不是需要手动下载千问的模型

@xueshun1211
Copy link

xueshun1211 commented Jan 23, 2024

可能是下载模型包失败

  1. 删除models 文件夹
  2. 重新执行bash run.sh

也可以手动clone 模型包 地址
可以查看run.sh 文件
然后手动解压至指定目录
注:确保自己操作系统安装了 git lfs

@Nydaym
Copy link

Nydaym commented Jan 23, 2024

建议手动下载模型文件,我之前也遇到了这个问题后面手动下载后就好了。

@ozbillwang
Copy link
Author

ozbillwang commented Jan 24, 2024

可能是下载模型包失败

  1. 删除models 文件夹
  2. 重新执行bash run.sh

也可以手动clone 模型包 地址 可以查看run.sh 文件 然后手动解压至指定目录 注:确保自己操作系统安装了 git lfs

yes, I do see the error

+ git lfs install
git: 'lfs' is not a git command. See 'git --help'.

let me fix it first

update 1

could we migrate the git repo (https://www.wisemodel.cn/Netease_Youdao/qanything.git) from CN server to Github as well?

+ git lfs install
Updated git hooks.
Git LFS initialized.
+ git clone https://www.wisemodel.cn/Netease_Youdao/qanything.git
Cloning into 'qanything'...

can't access it from outside

image

seems I can download the models, but got a warning


Encountered 1 file(s) that may not have been copied correctly on Windows:
        models.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants