You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help, it seems the hparams variable is not accessible from multiprocessing:
raceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
Traceback (most recent call last):
File "", line 1, in
self = reduction.pickle.load(from_parent)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
exitcode = _main(fd, parent_sentinel)
class MidiSingingBinarizer(SingingBinarizer):
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
self = reduction.pickle.load(from_parent)
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
KeyError: 'hop_size'
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
The text was updated successfully, but these errors were encountered:
Dear friend,
I tried to change the data dir, but the problem didn't work out. Running this code on a linux system does not present this problem. You can try running it on a linux system
Please help, it seems the hparams variable is not accessible from multiprocessing:
raceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
Traceback (most recent call last):
File "", line 1, in
self = reduction.pickle.load(from_parent)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
exitcode = _main(fd, parent_sentinel)
class MidiSingingBinarizer(SingingBinarizer):
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
self = reduction.pickle.load(from_parent)
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
KeyError: 'hop_size'
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\Anaconda3\envs\svs\lib\multiprocessing\spawn.py", line 126, in _main
self = reduction.pickle.load(from_parent)
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 183, in
class MidiSingingBinarizer(SingingBinarizer):
File "D:\QIU\model_code\DiffSinger-master_new\DiffSinger-master\data_gen\singing\binarize.py", line 242, in MidiSingingBinarizer
def get_align(ph_durs, mel, phone_encoded, res, hop_size=hparams['hop_size'], audio_sample_rate=hparams['audio_sample_rate']):
KeyError: 'hop_size'
The text was updated successfully, but these errors were encountered: