Run this script, the error message displayed in the log is
Traceback (most recent call last):
File "/home/tangshuai/anaconda3/envs/audioldm/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/tangshuai/anaconda3/envs/audioldm/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/tangshuai/repository/audio_generation/CLAP/src/laion_clap/training/main.py", line 609, in <module>
main()
File "/home/tangshuai/repository/audio_generation/CLAP/src/laion_clap/training/main.py", line 333, in main
total_steps = data["train"].dataloader.num_batches * args.epochs
KeyError: 'train'
When I don't train, just test based on a pretrained checkpoint, I use the following script:
Run this script, the error message displayed in the log is