Open emoebel opened 2 years ago
fyi, I am following solution in: https://stackoverflow.com/questions/56841166/how-to-implement-gradient-reversal-layer-in-tf-2-0
for now it seems to work
Hey, thanks for pointing this out! Indeed my solution seems to only work with TF1. I added a requirements file where a specify the Keras and TF version – I'll also update the readme. I'm not really maintaining this actively anymore, but I'm happy to see that others have found solutions for TF2
Hi, what tensorflow and keras versions are you using?
I have:
I had to adapt your imports:
instead of:
When I try to instanciate your gradient reversal layer, I get the error:
How should I edit the code to make it work with recent versions of tensorflow ?