yxlllc/DDSP-SVC

Console error "name 'f0_extractor' is not defined"

Closed this issue · 1 comments

So I wrote a small helper Python script a longer while back and updated it so it would fit a better folder structure.
For some reason I misspelled one of the pitch extraction methods and came across this issue in the console:
image

Looking at the line and the surrounding code here, it seems it's not using self.f0_extractor and thus doesn't print it properly
https://github.com/yxlllc/DDSP-SVC/blob/master/ddsp/vocoder.py#L136

Since it's a single line I thought I'd bring it to your attention since I don't think a PR for a single line would be necessary :)
(And even then it's in my opinion good to track this as a small issue anyway)

Thanks for pointing it out, it has been fixed