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

safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization #19

Open
ChengRuiLiang opened this issue Mar 25, 2024 · 2 comments

Comments

@ChengRuiLiang
Copy link

我删除了pytorch==2.0.1 修改codescikit-learn==1.3.0为 scikit-learn==1.3.0,要不然这两个下载会报错,但是这种请路况下虽然执行 pip install -r requirements.txt 成功,但是执行python pdf2txt.py -i "input_path" -o "output_file" 命令时报错:safetensors_rust.SafetensorError: Error while deserializing header: InvalidHeaderDeserialization

@ChengRuiLiang
Copy link
Author

我尝试了python3.11、3.10、3.9都是同样的错误

@Tangsonghuai
Copy link

我尝试了python3.11、3.10、3.9都是同样的错误

请问,问题解决了吗?
pytorch 应该为torch
pip install torch

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

2 participants