Skip to content

help #11

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

Open
yangw8 opened this issue May 11, 2025 · 2 comments
Open

help #11

yangw8 opened this issue May 11, 2025 · 2 comments

Comments

@yangw8
Copy link

yangw8 commented May 11, 2025

发生异常: RuntimeError
PytorchStreamReader failed reading zip archive: failed finding central directory
File "/root/data1/float/generate.py", line 96, in load_weight
state_dict = torch.load(checkpoint_path, map_location='cpu', weights_only=True)
File "/root/data1/float/generate.py", line 85, in init
self.load_weight(opt.ckpt_path, rank=self.rank)
File "/root/data1/float/generate.py", line 186, in
agent = InferenceAgent(opt)

@TaekyungKi
Copy link
Collaborator

TaekyungKi commented May 12, 2025

It seems your pertained weight has some issues.
Could you retry to download?

@yangw8
Copy link
Author

yangw8 commented May 12, 2025

It seems your pertained weight has some issues. Could you retry to download?
我执行这三行代码 pip install gdown
gdown --id 1rvWUM12CYVNVBONCLmG4Fr2L1rpjOBF0
mv float.pth checkpoints/
为什么float.pt文件下载到了这里(如下所示)?好疑惑,求解答
/root/data1/anaconda3/envs/FLoAT/lib/python3.8/site-packages/gdown/main.py:140: Futurewarning: option--id` was deprecatedin version 4.3.1 and will be removed. You don tto pass it anymore to use a file ID.Tn .6neeowarnings.warn
(Downloading..From (original): https://drive.google.com/uc?id=1rVWUM12CYVNVBQNCLmG4Fr2L1rpjOBFOFrom
(redirected): https://drive.google,com/uc?id=1rvuM12cyVBONCLmG4Fr2L1rpj0BF0&confirm=t&uuid=1713d635-f553-4e1a-af87-0b7756a1f8f8
To:/root/data1/float/float.pth

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