[Telemelody] BUG: clean function in infer_en.py causes the example test to raise ValueError
As seen in #49 the clean function doesn't seem to be necessary for the infer_en.py script. It causes the example test to raise ValueError: min() arg is an empty sequence in line 318.
I tried @backspacetg suggestion of changing re.sub(r'.{6} *', ".", word) to re.sub(r'\.{6} *', ".", word), but it error persist in the test example.
@jzq2000 or @tan-xu do you have any information on that?
@EduardoPach It appears that your inputs are either empty or invalid. In order for me to verify this, could you please provide more detailed information?
@jzq2000 This problem happened to me while trying to run the data/en/test with lyrics: crazy little thing called love [sep] crazy little thing called love [sep]
Are other input files, e.g. syllable.txt and chord.txt, not empty?
Hi,
I have encountered the same issue and have verified that the checkpoints, data-bin (dicts), and the data itself are not empty and are valid. I have followed the instructions provided in the readme.
I attempted the solution mentioned in issue #49 , similar to what @EduardoPach tried, but I received the same error: "ValueError: min() arg is an empty sequence in line 318".
It appears that the problem lies within the clean function. I made a modification to the function to return the word without any alterations, as shown in the attached screenshot.
After making this change, the code now runs successfully. @jzq2000 or @tan-xu, could you provide any information or insights regarding this matter?
Thank you.
Hi,
I have encountered the same issue and have verified that the checkpoints, data-bin (dicts), and the data itself are not empty and are valid. I have followed the instructions provided in the readme.
I attempted the solution mentioned in issue #49 , similar to what @EduardoPach tried, but I received the same error: "ValueError: min() arg is an empty sequence in line 318".
It appears that the problem lies within the clean function. I made a modification to the function to return the word without any alterations, as shown in the attached screenshot.
After making this change, the code now runs successfully. @jzq2000 or @tan-xu, could you provide any information or insights regarding this matter?
Thank you.
I had to do the same thing. Making clean return the word without any modification
