naturomics/CapsLayer

tensorflow2.0 how to write config.py?

YuQing-Que opened this issue · 1 comments

tensorflow2.0 how to write config.py?
AttributeError: module 'tensorflow' has no attribute 'app'

I forked a compatibility branch you can download here: https://github.com/alexandrelefourner/CapsLayer

I know it has been a bit of time since this issue (and I am not even sure this is still maintained)... but I share the fix for TF 2.2 in case anybody would need it.