Skip to content

Tag: google-colaboratory

Stylegan2-ada tfrecords – ValueError: axes don’t match array, images will work one run and not work the next

I’m working on training a GAN through Google Colab with a dataset of photos I scraped from Wikiart and converted to 1024×1024, but keep getting this error when creating the tfrecords: I set it to print out what files it would stall on, and began taking those out of the data set; but what it stalls …

CUDA out of memory in Google Colab

I am trying to replicate a GAN study (Stargan-V2). So, I want to train a model (using less data) in Google Colab. But, I got this problem: I changed batch_size but It didn’t work for me. Did you have any idea? How can I fix this problem? Paper: StarGAN v2: Diverse Image Synthesis for Multiple Domains Or…

Google Colab TPU Version

How do I print in Google Colab which TPU version I am using and how much memory the TPUs have? With I get the following Output Output I want something like [IN] print(‘tpu.version:’, tpu.version) [OUT] tpu.version: Cloud TPU v3. I hope someone can help me. Looking forward to an answer! Answer This…