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
Traceback (most recent call last):
File "train_cyclegan_vc2.py", line 39, in <module>
model = CycleGAN2(num_features=num_mcep, batch_size=mini_batch_size, log_dir=log_dir)
File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/cyclegan_vc2.py", line 21, in __init__
self.build_model()
File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/cyclegan_vc2.py", line 81, in build_model
self.cycle_loss = l1_loss(y=self.input_A_real, y_hat=self.cycle_A) + l1_loss(y=self.input_B_real,
File "/media/dmitriy/Main2/NeuralNetworks/CycleGAN-VC2-2/GAN-Voice-Conversion/models/utils.py", line 5, in l1_loss
return tf.reduce_mean(tf.abs(y - y_hat))
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/ops/math_ops.py", line 812, in binary_op_wrapper
return func(x, y, name=name)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/ops/gen_math_ops.py", line 9536, in sub
"Sub", x=x, y=y, name=name)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 3300, in create_op
op_def=op_def)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1823, in __init__
control_input_ops)
File "/media/dmitriy/Main2/NeuralNetworks/Anaconda3/envs/cycleganvc/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1662, in _create_c_op
raise ValueError(str(e))
ValueError: Dimensions must be equal, but are 70 and 36 for 'sub' (op: 'Sub') with input shapes: [?,70,?], [1,36,?].
I've noticed that on the leimao's implementation the num_mcep value is 24 but on yours it's 36. Can you please explain how you changed it? It seems to always give me an error when i try.
The text was updated successfully, but these errors were encountered:
I've noticed that on the leimao's implementation the num_mcep value is 24 but on yours it's 36. Can you please explain how you changed it? It seems to always give me an error when i try.
The text was updated successfully, but these errors were encountered: