tg-bomze / BabyGAN

StyleGAN-based predictor of children's faces from photos of theoretical parents.
339 stars 63 forks source link

TensorFlow 1.x can't using with google colab #24

Open Manhha3010 opened 4 months ago

Manhha3010 commented 4 months ago

How to run full in google colab :(

adityadees commented 3 months ago

same here

/usr/local/lib/python3.10/dist-packages/google/colab/_tensorflow_magics.py in _tensorflow_version(line) 33 34 if line.startswith("1"): ---> 35 raise ValueError( 36 # pylint: disable=line-too-long 37 textwrap.dedent(

ValueError: Tensorflow 1 is unsupported in Colab.

Your notebook should be updated to use Tensorflow 2.

Manhha3010 commented 3 months ago

same here

/usr/local/lib/python3.10/dist-packages/google/colab/_tensorflow_magics.py in _tensorflow_version(line) 33 34 if line.startswith("1"): ---> 35 raise ValueError( 36 # pylint: disable=line-too-long 37 textwrap.dedent(

ValueError: Tensorflow 1 is unsupported in Colab.

Your notebook should be updated to use Tensorflow 2.

Using Baby Gan on Kaggle