Open uliuycy opened 6 months ago
Traceback (most recent call last):
File "D:\python_study\时间vae\TimeCVAE_SAE-master\TimeCVAE\TimeCVAE.py", line 451, in
Errors may have originated from an input operation.
Input Source operations connected to node decoder/tf.compat.v1.gather/GatherV2:
In[0] decoder/reshape_3/Reshape (defined at D:\Anaconda\envs\DL\lib\site-packages\keras\layers\core\reshape.py:126)
In[1] decoder/tf.math.multiply_1/Mul:
In[2] decoder/tf.compat.v1.gather/GatherV2/axis:
Operation defined at: (most recent call last)
File "D:\python_study\时间vae\TimeCVAE_SAE-master\TimeCVAE\TimeCVAE.py", line 451, in
r = vae.fit(x_train, (y_train,z_mean,z_log_var), epochs=50, batch_size=64, shuffle=True) File "D:\Anaconda\envs\DL\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler return fn(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\training.py", line 1216, in fit tmp_logs = self.train_function(iterator)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\training.py", line 878, in train_function return step_function(self, iterator)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\training.py", line 867, in step_function outputs = model.distribute_strategy.run(run_step, args=(data,))
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\training.py", line 860, in run_step outputs = model.train_step(data)
File "D:\python_study\时间vae\TimeCVAE_SAE-master\TimeCVAE\TimeCVAE.py", line 307, in train_step reconstruction = self.decoder([z, y])
File "D:\Anaconda\envs\DL\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler return fn(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\base_layer.py", line 1083, in call outputs = call_fn(inputs, *args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\utils\traceback_utils.py", line 92, in error_handler return fn(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\functional.py", line 451, in call return self._run_internal_graph(
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\functional.py", line 589, in _run_internal_graph outputs = node.layer(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\utils\traceback_utils.py", line 64, in error_handler return fn(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\engine\base_layer.py", line 1083, in call outputs = call_fn(inputs, *args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\utils\traceback_utils.py", line 92, in error_handler return fn(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\layers\core\tf_op_layer.py", line 226, in _call_wrapper return self._call_wrapper(*args, **kwargs)
File "D:\Anaconda\envs\DL\lib\site-packages\keras\layers\core\tf_op_layer.py", line 261, in _call_wrapper result = self.function(*args, **kwargs) What is the situation where this error occurred?
hello
Hello, may I ask if this is the reproduced code from a paper?