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
Hi, I've finetuned nisqa_tts.tar following the README instructions and obtained a new set of weights. However, when I try to use them for inference, I get the following error message.
Device: cpu
Model architecture: NISQA
Loaded pretrained model from weights/nisqa_custom.tar
Traceback (most recent call last):
File "/home/udesa_ubuntu/tesis/NISQA/run_predict.py", line 42, in
nisqa = nisqaModel(args)
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 35, in init
self._loadDatasets()
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 738, in _loadDatasets
self._loadDatasetsCSVpredict()
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 818, in _loadDatasetsCSVpredict
csv_con_file_path = os.path.join(self.args['data_dir'], self.args['csv_con'])
File "/home/udesa_ubuntu/miniconda3/envs/nisqa/lib/python3.9/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/home/udesa_ubuntu/miniconda3/envs/nisqa/lib/python3.9/genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
The text was updated successfully, but these errors were encountered:
Hi, I've finetuned nisqa_tts.tar following the README instructions and obtained a new set of weights. However, when I try to use them for inference, I get the following error message.
python run_predict.py --mode predict_csv --pretrained_model weights/nisqa_custom.tar --csv_file /home/udesa_ubuntu/tesis/NISQA_analysis/NISQA_finetuning/test_set.csv --csv_deg stimuli --num_workers
0 --bs 10 --output_dir /home/udesa_ubuntu/tesis/NISQA_analysis/NISQA_finetuning/test
Device: cpu
Model architecture: NISQA
Loaded pretrained model from weights/nisqa_custom.tar
Traceback (most recent call last):
File "/home/udesa_ubuntu/tesis/NISQA/run_predict.py", line 42, in
nisqa = nisqaModel(args)
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 35, in init
self._loadDatasets()
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 738, in _loadDatasets
self._loadDatasetsCSVpredict()
File "/home/udesa_ubuntu/tesis/NISQA/nisqa/NISQA_model.py", line 818, in _loadDatasetsCSVpredict
csv_con_file_path = os.path.join(self.args['data_dir'], self.args['csv_con'])
File "/home/udesa_ubuntu/miniconda3/envs/nisqa/lib/python3.9/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/home/udesa_ubuntu/miniconda3/envs/nisqa/lib/python3.9/genericpath.py", line 152, in _check_arg_types
raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
The text was updated successfully, but these errors were encountered: