FreezeD (Optional)

At the ’ Freeze the Discriminator (FreezeD)’ Colab

On the ‘Fine-tuning StyleGAN on Anime Faces’ section

there is a "AssertionError: ", on this line:
—> Dataset(‘data/animeface-character-dataset/thumb’, n_classes=n_classes),

Thanks, @Marku!

This issue has been reported to the developers to fix, although it’s been a little while so I just pinged them again to check in on it.

Here’s the post where the problem was originally reported:
Issue with the StyleGan optional lab - #5 by Steven_Saito

You can watch that space for an update when the issue is fixed.

Hi @Wendy @Marku ,

We working on this issue and will try to fix this shortly. Sorry for the inconvenience.

Thanks,
Sharob

It seems the .zip dataset has been removed from the source website.

# Download Anime Face dataset to `data` folder
if not os.path.isdir('data/animeface-character-dataset'):
    !wget http://www.nurs.or.jp/~nagadomi/animeface-character-dataset/data/animeface-character-dataset.zip
    !unzip animeface-character-dataset.zip -d data

Gives the following assertion error:

--2022-10-04 10:00:14--  http://www.nurs.or.jp/~nagadomi/animeface-character-dataset/data/animeface-character-dataset.zip
Resolving www.nurs.or.jp (www.nurs.or.jp)... 54.187.126.238
Connecting to www.nurs.or.jp (www.nurs.or.jp)|54.187.126.238|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-10-04 10:00:15 ERROR 403: Forbidden.