pytti-notebook icon indicating copy to clipboard operation
pytti-notebook copied to clipboard

some problems with the download

Open diramazioni opened this issue 3 years ago • 0 comments

I'm trying the notebook on colab, all the steps completed but when I try to "Run it" I got this error

/usr/local/lib/python3.7/dist-packages/pytti/workhorse.py:186: UserWarning: 
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
  @hydra.main(config_path="config", config_name="default")
100%|███████████████████████████████████████| 338M/338M [00:05<00:00, 65.2MiB/s]

Working with z of shape (1, 256, 16, 16) = 65536 dimensions.

/usr/local/lib/python3.7/dist-packages/torchvision/models/_utils.py:209: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and will be removed in 0.15, please use 'weights' instead.
  f"The parameter '{pretrained_param}' is deprecated since 0.13 and will be removed in 0.15, "
/usr/local/lib/python3.7/dist-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and will be removed in 0.15. The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
Downloading: "https://download.pytorch.org/models/vgg16-397923af.pth" to /root/.cache/torch/hub/checkpoints/vgg16-397923af.pth

100%
528M/528M [00:02<00:00, 229MB/s]

loaded pretrained LPIPS loss from taming/modules/autoencoder/lpips/vgg.pth
VQLPIPSWithDiscriminator running with hinge loss.

---------------------------------------------------------------------------

RuntimeError                              Traceback (most recent call last)

[<ipython-input-18-8e8b96d52965>](https://localhost:8080/#) in <module>
      6   params.seed = random.randint(-0x8000_0000_0000_0000, 0xffff_ffff_ffff_ffff)
      7 
----> 8 render_frames(params)

7 frames

[/usr/local/lib/python3.7/dist-packages/torch/serialization.py](https://localhost:8080/#) in __init__(self, name_or_buffer)
    240 class _open_zipfile_reader(_opener):
    241     def __init__(self, name_or_buffer) -> None:
--> 242         super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))
    243 
    244 

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

diramazioni avatar Oct 24 '22 21:10 diramazioni