1

I am attempting to use tensorflow to train a GAN in R. I'm getting the following error

AttributeError: module 'tensorflow' has no attribute 'contrib'

I've been searching for a solution and found this question Module 'tensorflow' has no attribute 'contrib' which tells me that my code is using TF 1.X syntax.

This directs me to the tf_upgrade_v2 script, however it seems to be oriented towards python scripts. Is there a way to upgrade my R script?

0 Answers0