You need to dounload weights and put them in pretrain_model folder from https://www.dropbox.com/s/ca0b1v2nlxzyeb4/audioset_10_10_0.4593.pth?dl=1 Or you can download other weights from https://github.com/YuanGongND/ast
in main.py in src/ chouse folder to dataset, and run main.py .