Closed Ivvvvvvvvvvy closed 1 year ago
seems to be a duplicate of #21
The problem should be pretty easy to fix. The goal with "\"[test, ]\""
is to pass a list of splits e.g. ['test'] as an argument to omegaconf.
Try something like this (I haven't tried it):
cfg.sampler.splits=cfg.sampler.splits.split(',')
there: https://github.com/v-iashin/SpecVQGAN/blob/8ab6981535ab70fad3531688e0f630f1ce3b834f/evaluation/generate_samples.py#L54sampler.splits=$"\"[test, ]\"" \
with sampler.splits="test" \
Let me know if it works and if you had to fix something else.
seems to be a duplicate of #21
The problem should be pretty easy to fix. The goal with
"\"[test, ]\""
is to pass a list of splits e.g. ['test'] as an argument to omegaconf.Try something like this (I haven't tried it):
- Add
cfg.sampler.splits=cfg.sampler.splits.split(',')
there: https://github.com/v-iashin/SpecVQGAN/blob/8ab6981535ab70fad3531688e0f630f1ce3b834f/evaluation/generate_samples.py#L54- Replace
sampler.splits=$"\"[test, ]\"" \
withsampler.splits="test" \
Let me know if it works and if you had to fix something else.
Thank you so much! ! ! The problem has been perfectly solved, and there are no problems during the evaluation phase too.
Then, I have a question about the "vggsound.csv" file. The data set is divided into three parts: train, test, and valid. Why is there only two types of train and test in the last column of "vggsound.csv"?May I ask whether the valid label has been changed to train or test?
I glad this has resolved the issue.
The original vggsound is split into two parts: train and test. We split the train into train and validation and keep the test split as it is for our experiments. For more details, see the paper
Thank you!!
hello, I'm sampling, but I'm running into something I can't figure out, it seems to be in the
"SPLITS="\"[test, ]\"""
part.The script crashes with the following [error:]
The command I use is as follows:
I know someone has asked this question before, but I don't understand how to fix it, how should I fix it?