sannawag / data_driven_pitch_corrector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about pYin

Charlottecuc opened this issue · comments

Hi. I extracted the pYin of survive_4_vocals.wav by using Sonic Visualizer (transform->pYin->notes). The resulting csv file is like this:
Screenshot 2021-03-11 at 6 01 22 PM

However, I only got 136 rows, while in your survive_4_vocals.csv, there are 138 rows.

And, when I tried to auto-tune the model by python rnn.py --use_combination_channel True --extension "3" --resume True --run_training False --run_autotune True, the following error occurred:

exception in dataset index 1943 is out of bounds for axis 0 with size 1813 Traceback (most recent call last): File "rnn.py", line 336, in __getitem__ data_dict = self.getitem_realworld_cqt(idx) File "rnn.py", line 182, in getitem_realworld_cqt original_boundaries = np.array([original_boundaries[notes[:, 0]], original_boundaries[notes[:, 1]]]).T IndexError: index 1943 is out of bounds for axis 0 with size 1813 skipping song survive_4_vocals

Could you tell me how do you extract pYin from wav files (e.g. parameters in Sonic Annotator), and how to avoid above error?
Thank you very much.

I get the same issus, have you solve the problem?