v-iashin / SpecVQGAN

Source code for "Taming Visually Guided Sound Generation" (Oral at the BMVC 2021)
https://v-iashin.github.io/SpecVQGAN
MIT License
347 stars 40 forks source link

evaluate issue #46

Closed JokerHYX-719 closed 2 months ago

JokerHYX-719 commented 2 months ago

In the process of sampling, I encountered the issue "bash: sampler.splits[validation, ]: command not found."The parameters I used are as follows: python evaluation/generate_samples.py \ sampler.config_sampler=evaluation/configs/sampler.yaml \ sampler.model_logdir="./logs/2024-08-30T17-40-59_vas_transformer" sampler.splits"[validation, ]" \ sampler.samples_per_video=10 \ sampler.batch_size=4 \ sampler.top_k=64 \ data.params.spec_dir_path="./data/vas/features//melspec_10s_22050hz/" \ data.params.rgb_feats_dir_path="./data/vas/features//feature_rgb_bninception_dim1024_21.5fps/" \ data.params.flow_feats_dir_path="./data/vas/features/*/feature_flow_bninception_dim1024_21.5fps/" \

JokerHYX-719 commented 2 months ago

How can I resolve this issue

v-iashin commented 2 months ago

try adding \ at the end of each line except for the last one

JokerHYX-719 commented 2 months ago

Thank you very much!

JokerHYX-719 commented 2 months ago

May I ask why I set sampler.samples_per_video=10 but the training shows 1

JokerHYX-719 commented 2 months ago

image

v-iashin commented 2 months ago

read 6.1.7 Evaluation of Generated Samples for details