openspeech icon indicating copy to clipboard operation
openspeech copied to clipboard

RuntimeError: Could not infer dtype of NoneType

Open Rodney97 opened this issue 4 years ago • 1 comments

❓ 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 에러가 나옵니다. 이유가 뭔지 모르겠습니다..

Rodney97 avatar Jan 19 '22 06:01 Rodney97

Hey,bro.How did you solve it?

steveluo01 avatar Jan 13 '23 08:01 steveluo01