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
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
Window 10
Mobile device
No response
Python version
3.9.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to implement this in tensorflow 2.13 but getting this error "ValueError: Tried to convert 'shape' to a tensor and failed. Error: None values not supported" after searching a lot I got to know we have to use -1 in case of None but even after trying that it was not working I am getting this error in custom Patches layer
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
Window 10
Mobile device
No response
Python version
3.9.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to implement this in tensorflow 2.13 but getting this error "ValueError: Tried to convert 'shape' to a tensor and failed. Error: None values not supported" after searching a lot I got to know we have to use -1 in case of None but even after trying that it was not working I am getting this error in custom Patches layer
patches = tf.reshape(patches, [batch_size, -1, patch_dims])
can anybody please help?
Relevant log output
The text was updated successfully, but these errors were encountered: