DTLN icon indicating copy to clipboard operation
DTLN copied to clipboard

UnboundLocalError

Open a22802240 opened this issue 9 months ago • 0 comments

Total params: 986,753 Trainable params: 986,753 Non-trainable params: 0


None Epoch 1/200 Traceback (most recent call last): File "run_training.py", line 56, in path_to_val_mix, path_to_val_speech) File "/home/max/Documents/DTLN-master/DTLN_model.py", line 580, in train_model use_multiprocessing=True) File "/home/max/anaconda3/envs/dtln_train/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 66, in _method_wrapper return method(self, *args, **kwargs) File "/home/max/anaconda3/envs/dtln_train/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 856, in fit epoch_logs = copy.copy(logs) UnboundLocalError: local variable 'logs' referenced before assignment

I have adjusted self.batchsize = 1 but it still reports the above error

a22802240 avatar Mar 28 '25 03:03 a22802240