Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
royorel authored Apr 29, 2021
1 parent e10e2de commit 2ecdcd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ Nevertheless, we recommend revoking the script's access after the download is co
* Download client configuration
* Rename this file to `client_secrets.json` and place it in the same folder as the download script (`download_ffhq_aging.py`).

**Update (4/29/2021): Google have updated this page, please follow the prerequisists section of the updated page to get the credential files**

#### Step 3: Run the script
* In order to run the code with authntication, edit the `get_ffhq_aging.sh/bat` script, and add the `--pydrive` flag when invoking `download_ffhq_aging.py`. This will open a browser authentication window. Log in to your account and allow access.
* If you have no display (like when running from a remote compute server), edit the `get_ffhq_aging.sh/bat` script, and also add the `--cmd_auth` flag when invoking `download_ffhq_aging.py`. This will print a Google authentication link to the screen. Open the link in any browser, allow access, and paste the Google authentication token back to the command line.
Expand Down

0 comments on commit 2ecdcd2

Please sign in to comment.