Replies: 1 comment 4 replies
-
Hi @le000043 I think this operation is breaking your gradient flow: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to implement the
PreprocessorTensorFlowV2
. Below is my implementation. For some reason, I had this error, did the gradient just vanish?My implementation:
The error:
The above forward function simply returns the input image by first extracting the NumPy array and returning a new Tensor with the extracted data. I suspect this is a mismatch of the data structure. Everything works fine if I just simply return
x
from the input.Beta Was this translation helpful? Give feedback.
All reactions