Spaces:
Runtime error

runtime error

Space not ready. Reason: Error, exitCode: 1, message: None

Container logs:

[nltk_data] Downloading package wordnet to /home/user/nltk_data...
/home/user/app/netdissect/dissection.py:915: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if label_fracs is None or label_fracs is 0:
/home/user/app/netdissect/segmenter.py:254: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  assert result is not 0, 'unrecognized class %d' % classnum
StyleGAN2: Optimized CUDA op FusedLeakyReLU not available, using native PyTorch fallback.
StyleGAN2: Optimized CUDA op UpFirDn2d not available, using native PyTorch fallback.
Downloading https://drive.google.com/uc?export=download&id=1wqoIkVFX6_q3WIgot_jUlg3XJ5TvISuy
Access denied with the following error:

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses. 

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?export=download&id=1wqoIkVFX6_q3WIgot_jUlg3XJ5TvISuy 

Traceback (most recent call last):
  File "app.py", line 32, in <module>
    inst = get_instrumented_model(config.model, config.output_class,
  File "/usr/local/lib/python3.8/functools.py", line 875, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/home/user/app/models/wrappers.py", line 699, in get_instrumented_model
    model = get_model(name, output_class, device, **kwargs)
  File "/usr/local/lib/python3.8/functools.py", line 875, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
  File "/home/user/app/models/wrappers.py", line 684, in get_model
    model = StyleGAN2(device, class_name=output_class)
  File "/home/user/app/models/wrappers.py", line 127, in __init__
    self.load_model()
  File "/home/user/app/models/wrappers.py", line 167, in load_model
    ckpt = torch.load(checkpoint)
  File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 594, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/home/user/.local/lib/python3.8/site-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/app/models/checkpoints/stylegan2/stylegan2_character_512.pt'