Traceback (most recent call last):


 "extract_durations.py", line 230, in <module>

np.save(str(train_target_dir / f'{sample_idx}_mel_phon_dur.npy'), sample)


 "<__array_function__ internals>", line 6, in save


 "/home/user1/anaconda3/envs/TransformerTTS/lib/python3.7/site-packages/numpy/lib/npyio.py", line 527, in save

arr = np.asanyarray(arr)


 "/home/user1/anaconda3/envs/TransformerTTS/lib/python3.7/site-packages/numpy/core/_asarray.py", line 136, in asanyarray

return array(a, dtype, copy=False, order=order, subok=True)
ValueError: could not broadcast input array from shape (224,80) into shape (224)

Traceback (most recent call last):


 "train.py", line 561, in <module>

main()


 "train.py", line 553, in main

run_training(**vars(args))


 "train.py", line 451, in run_training

training_loop.training_loop(**training_options)


 "/datadrive/stylegan2-ada/training/training_loop.py", line 128, in training_loop

G.copy_vars_from(rG)


 "/datadrive/stylegan2-ada/dnnlib/tflib/network.py", line 511, in copy_vars_from

self._components[name].copy_vars_from(src_comp)


 "/datadrive/stylegan2-ada/dnnlib/tflib/network.py", line 508, in copy_vars_from

self.copy_own_vars_from(src_net)


 "/datadrive/stylegan2-ada/dnnlib/tflib/network.py", line 481, in copy_own_vars_from

tfutil.set_vars({self._get_vars()[name]: value for name, value in value_dict.items() if name in self._get_vars()})


 "/datadrive/stylegan2-ada/dnnlib/tflib/tfutil.py", line 227, in set_vars

run(ops, feed_dict)


 "/datadrive/stylegan2-ada/dnnlib/tflib/tfutil.py", line 33, in run

return tf.get_default_session().run(*args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 950, in run

run_metadata_ptr)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1149, in _run

str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (3, 3, 512, 512) for Tensor 'G_synthesis/64x64/Conv0_up/weight/new_value:0', which has shape '(3, 3, 512, 256)'
