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

按照 Readme 复现训练出错 #6

Open
YuchengWang opened this issue May 25, 2023 · 3 comments
Open

按照 Readme 复现训练出错 #6

YuchengWang opened this issue May 25, 2023 · 3 comments

Comments

@YuchengWang
Copy link

您好,我按照 readme 的教程,在配置和运行这一步时,出现以下错误。没有更改配置文件中的任何内容。

麻烦看一下,谢谢

运行环境是直接拉取的GPU docker,本地有GPU的支持了。

ycwang@0bc2ef9ef5fb:~/kws-training-suite$ python pipeline.py config.yml --remote_dataset /data/open_dataset
2023-05-25 09:53:47,055 - modelscope - INFO - PyTorch version 1.11.0+cu113 Found.
2023-05-25 09:53:47,057 - modelscope - INFO - Loading ast index from /home/ycwang/.cache/modelscope/ast_indexer
2023-05-25 09:53:47,077 - modelscope - INFO - Loading done! Current index file version is 1.1.0, with md5 3bbeffe7ab88ccc8c561536fa68ba6c2
2023-05-25 09:53:47,856 - modelscope - INFO - Loading config from config.yml
2023-05-25 09:53:47,860 - modelscope - INFO - Local work dir: /mnt/data/data/ckpt_0923
Traceback (most recent call last):
  File "pipeline.py", line 280, in <module>
    main(conf, args.remote_dataset, args.base_only)
  File "pipeline.py", line 42, in main
    check_conf(cfg, download_dir)
  File "/home/ycwang/kws-training-suite/evaluate/batch_roc.py", line 150, in check_conf
    annos = loadAnnot(cfg['test_pos_anno_dir'])
  File "/home/ycwang/kws-training-suite/evaluate/util/KWSEval.py", line 50, in loadAnnot
    for scene in os.listdir(baseannot):
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data/data/himiya.dev/annotation_pos_4mic'
@YuchengWang
Copy link
Author

另外, readme中的一句话, 各配置项和说明,参见《KWS训练套件配置说明》。 这个配置说明也没有找到

@bincard
Copy link
Collaborator

bincard commented May 26, 2023

你好,《KWS训练套件配置说明》就是项目中的HOW_TO_CONFIG.md。README.md 文档需要优化。
您上面报出的错误也是因为配置文件中的默认内容只是示例,比如 /mnt/data/himiya.dev/origin_pos_4mic 需要您按照配置说明替换为本地的正确路径。

@YuchengWang
Copy link
Author

非常感谢

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