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
Hi Mr Pang.
I have read your paper and I found it very interesting to replicate. Congratulations!
I am currently trying to explore your ideas and to implement them in a fraud prevention context but I found some trouble trying to adapt your code to tf2 and our dataset. I am experimenting problems with the code, particularly inside the custom cost function.
The first one occurs with the ref variable. The framework throws the following error: tf.function-decorated function tried to create variables on non-first call. One solution would be to declare the symbolic variable outside the function but the random sample from which the mean and variance are obtained would always be the same.
On the other hand, for debugging purposes only, we train the model in eager mode and the error we encountered is: assertion failed: [predictions must be> = 0] [Condition x> = y did not hold element-wise: ] ….
Have you or your team ever tried to migrate your code to tf2? It could be very helpful for us your experience.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi Mr Pang.
I have read your paper and I found it very interesting to replicate. Congratulations!
I am currently trying to explore your ideas and to implement them in a fraud prevention context but I found some trouble trying to adapt your code to tf2 and our dataset. I am experimenting problems with the code, particularly inside the custom cost function.
The first one occurs with the
ref
variable. The framework throws the following error:tf.function-decorated function tried to create variables on non-first call
. One solution would be to declare the symbolic variable outside the function but the random sample from which the mean and variance are obtained would always be the same.On the other hand, for debugging purposes only, we train the model in eager mode and the error we encountered is:
assertion failed: [predictions must be> = 0] [Condition x> = y did not hold element-wise: ] …
.Have you or your team ever tried to migrate your code to tf2? It could be very helpful for us your experience.
Thank you.
The text was updated successfully, but these errors were encountered: