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

training error #90

Closed
WeianMao opened this issue Jan 7, 2023 · 1 comment
Closed

training error #90

WeianMao opened this issue Jan 7, 2023 · 1 comment

Comments

@WeianMao
Copy link

WeianMao commented Jan 7, 2023

after i download the training dataset and start training. there is an error:
Traceback (most recent call last):
File "/home/wayne/miniconda3/envs/unifold/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/wayne/miniconda3/envs/unifold/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/main.py", line 39, in
cli.main()
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
run()
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
runpy.run_path(target, run_name="main")
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 321, in run_path
return _run_module_code(code, init_globals, run_name,
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 135, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/home/wayne/.vscode-server/extensions/ms-python.python-2022.20.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
exec(code, run_globals)
File "/home/wayne/project/folding/uni/train.py", line 431, in
cli_main()
File "/home/wayne/project/folding/uni/train.py", line 427, in cli_main
distributed_utils.call_main(args, main)
File "/home/wayne/miniconda3/envs/unifold/lib/python3.9/site-packages/unicore-0.0.1-py3.9-linux-x86_64.egg/unicore/distributed/utils.py", line 193, in call_main
main(args, **kwargs)
File "/home/wayne/project/folding/uni/train.py", line 79, in main
task.load_dataset(valid_sub_split, combine=False, epoch=1)
File "/home/wayne/project/folding/uni/unifold/task.py", line 72, in load_dataset
dataset = data_class(
File "/home/wayne/project/folding/uni/unifold/dataset.py", line 257, in init
sample_weight = load_json(
File "/home/wayne/project/folding/uni/unifold/dataset.py", line 255, in load_json
return json.load(open(filename, "r"))
FileNotFoundError: [Errno 2] No such file or directory: '/media/HDD/dataset/protein1/modelscope/hub/datasets/downloads/DPTech/Uni-Fold-Data/master/eval_sample_weight.json'

@guolinke
Copy link
Member

please check your download data, it should have "eval_sample_weight.json" file.

@ZiyaoLi ZiyaoLi closed this as completed Feb 22, 2023
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

3 participants