openspeech-team / openspeech

Open-Source Toolkit for End-to-End Speech Recognition leveraging PyTorch-Lightning and Hydra.
https://openspeech-team.github.io/openspeech/
MIT License
672 stars 112 forks source link

RuntimeError: Could not infer dtype of NoneType #136

Open Rodney97 opened 2 years ago

Rodney97 commented 2 years ago

❓ Questions & Help

Details

python ./openspeech_cli/hydra_train.py dataset=ksponspeech dataset.dataset_path=D:/aihub/voice/korean dataset.test_dataset_path=D:/aihub/voice/test/KsponSpeech_eval/val_clean tokenizer=kspon_character model=listen_attend_spell audio=melspectrogram lr_scheduler=warmup_reduce_lr_on_plateau trainer=cpu criterion=cross_entropy

로 동작하면

File "C:\Users\eGhis\anaconda3\lib\site-packages\pytorch_lightning\core\step_result.py", line 551, in reduce_on_epoch_end result[k] = torch.tensor(result[k]).float() RuntimeError: Could not infer dtype of NoneType 에러가 나옵니다. 이유가 뭔지 모르겠습니다..

steveluo01 commented 1 year ago

Hey,bro.How did you solve it?