【无标题】

【无标题】,第1张

【无标题】
Traceback (most recent call last):
  File "train.py", line 160, in 
    main()
  File "train.py", line 41, in main
    trainData = LRS2Main("train", args["DATA_DIRECTORY"], args["MAIN_REQ_INPUT_LENGTH"], args["CHAR_TO_INDEX"], args["STEP_SIZE"],
  File "/root/deep_avsr-master/audio_visual/data/lrs2_dataset.py", line 90, in __init__
    _, self.noise = wavfile.read(noiseParams["noiseFile"])
  File "/opt/conda/lib/python3.8/site-packages/scipy/io/wavfile.py", line 639, in read
    fid = open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/root/deep_avsr-master/audio_visual/data/noise.wav'
root@61fa8f8952316f3941297e00:~/deep_avsr-master/audio_visual# python preprocess.py
Traceback (most recent call last):
  File "preprocess.py", line 110, in 
    main()
  File "preprocess.py", line 31, in main
    vf.load_state_dict(torch.load(args["TRAINED_FRONTEND_FILE"], map_location=device))
  File "/opt/conda/lib/python3.8/site-packages/torch/serialization.py", line 595, in load
    return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
  File "/opt/conda/lib/python3.8/site-packages/torch/serialization.py", line 781, in _legacy_load
    deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected 0 got 256

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5721381.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-18

发表评论

登录后才能评论

评论列表(0条)

保存