danielroich / PTI

Official Implementation for "Pivotal Tuning for Latent-based editing of Real Images" (ACM TOG 2022) https://arxiv.org/abs/2106.05744
MIT License
897 stars 112 forks source link

errors in colab #30

Closed JeffersonXie closed 2 years ago

JeffersonXie commented 2 years ago

Thanks for sharing your great work! When I run the code in colab, some errors come out in the part of downloading pre-trained models. It shows that "NameError: name 'downloader' is not defined". Can you give me any suggestions?

danielroich commented 2 years ago

Hi @JeffersonXie

Have you ran the "download_with_pydrive" code block? image This code block. After running it make sure you enter the verification code before moving on in the notebook. image

It creates a downloader object used to download the models

Hope it helps

JeffersonXie commented 2 years ago

Thanks for your reply. I forget that important operation.