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

训练模型时报错 #17

Open
bitxin232 opened this issue Jun 5, 2023 · 0 comments
Open

训练模型时报错 #17

bitxin232 opened this issue Jun 5, 2023 · 0 comments

Comments

@bitxin232
Copy link

Cloning into 'Douzero_Cloud_Client'...
remote: Enumerating objects: 726, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 726 (delta 28), reused 27 (delta 27), pack-reused 693
Receiving objects: 100% (726/726), 37.45 MiB | 42.99 MiB/s, done.
Resolving deltas: 100% (420/420), done.
/content/Douzero_Cloud_Client/Douzero_Cloud_Client
Found log directory: douzero_checkpoints/douzero
Saving arguments to douzero_checkpoints/douzero/meta.json
Path to meta file already exists. Not overriding meta.
Saving messages to douzero_checkpoints/douzero/out.log
Path to message file already exists. New data will be appended.
Saving logs data to douzero_checkpoints/douzero/logs.csv
Saving logs' fields to douzero_checkpoints/douzero/fields.csv
Path to log file already exists. New data will be appended.
1
加载模型中,请稍后
初始化,正在获取服务器版本
获取模型版本失败: ConnectionError(MaxRetryError("HTTPConnectionPool(host='cf.vcccz.com', port=80): Max retries exceeded with url: /model_info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06fae4ffd0>: Failed to establish a new connection: [Errno -2] Name or service not known'))"))
服务器版本获取失败,更新模型失败
Traceback (most recent call last):
File "/content/Douzero_Cloud_Client/Douzero_Cloud_Client/train.py", line 8, in
train(flags)
File "/content/Douzero_Cloud_Client/Douzero_Cloud_Client/douzero/dmc/dmc.py", line 190, in train
models["cpu"].get_model(position).load_state_dict(torch.load("./models/" + position + ".ckpt", map_location="cpu"))
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 791, in load
with _open_file_like(f, 'rb') as opened_file:
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 271, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 252, in init
super().init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/landlord.ckpt'

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

1 participant