OSError: [Errno Incorrect file size] ffhq-dataset-v2.json

Hello, I am trying to download the FFHQ dataset from the repository in this link. But when I run the command python3 download_ffhq.py --json --images I get the following error:

    raise IOError('Incorrect file size', file_path)
OSError: [Errno Incorrect file size] ffhq-dataset-v2.json

I am following the instructions provided in the repository but it won’t work. Can anyone please tell me what does this error mean and how do I solve this?

The question doesn’t seem to be related to PyTorch so I would recommend asking the code owners in their repository.