-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run code on colab TPU. #5
Comments
Hi @waleedrazakhan92 - We've now added a Colab Notebook to our most recent release. Feel free to check it out! Please let us know if you find a way to speed up training on Colab TPU. |
Thanks for the Notebook. The code runs fine uptil the actual training part where it mentions: So I take it as its still not able to utilize the TPU. |
@mar-muel - Hello I have the same issue as of 12/21 By the way, we are trying to use TPU Thanks for sharing this it's very useful for education - Any idea why this is the case ? |
Hi, my end goal is to train the stylegan model using google colab TPU. Right now i'm running the code by following the instructions to first run inference on the provided checkpoints. Everything installs fine but when i run the command below
python generate_images.py \ --checkpoint checkpoints/cookie-256.pkl \ --seeds 0 42 420 666 \ --truncation_psi 0.7 \ --out_path generated_images
I get the error "failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)" followed by the error "_pickle.UnpicklingError: pickle data was truncated"
Please let me know what am i doing wrong.
The text was updated successfully, but these errors were encountered: