Java教程

【无标题】

本文主要是介绍【无标题】,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
Traceback (most recent call last):
  File "train.py", line 160, in <module>
    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 <module>
    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

这篇关于【无标题】的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!