Open misakiudon opened 5 months ago
You need to use the fairseq version set up by this repo to run inference. The same fairseq framework you used to train the contentvec. That is why the legacy model is called the legacy model. Some modules were manually renamed or removed so that it can be loaded by the normal version fairseq. The legacy models are there for users to quickly run the model without setting up this repo. They are manually derived from the original version.
hello, I am training a new
contentvec
model in order to replace the framework'shubert
model with the newly trainedcontentvec
.However, when I tried to run the model created by learning with the code in the current repository on the
fairseq
system, the following problem occurred and inference was not possible.I tried using the pretrained model provided in the system for check, but the normal version (
checkpoint_best_500.pt
) made the exactly same error with above, but the legacy version (checkpoint_best_500_legacy.pt
) was working well.Is there any way to solve this problem? (What code should I run to inference the model I created?)
And do you know how to train a
contentvec
model that only contains representation modules (a.k.a. legacy model)?