Pytoch reports an error:
PytorchStreamReader failed reading zip archive: failed finding central directory
Error reporting position
An error is reported if the pre training model is not downloaded
resnet101 = torchvision.models.resnet101(pretrained=True)
Solution:
Delete the file C:\Users\Username/.cache\torch\hub\checkpoints.pth
Read More:
- [Solved] Pytorch Error: PytorchStreamReader failed reading zip archive failed finding central directory
- urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
- [Solved] torchsummary Error: RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.F
- ‘InceptionOutputs‘ object has no attribute ‘log_softmax‘
- [Solved] RuntimeError: unexpected EOF, expected 73963 more bytes. The file might be corrupted.
- Pytorch Loading model error: RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict
- Pytorch ValueError: Expected more than 1 value per channel when training, got input size [1, 768
- RuntimeError: No HIP GPUs are available [How to Solve]
- To solve the problem that the loss of verification set of resnet50 pre-training model remains unchanged
- [Solved] RuntimeError: Numpy is not available (Associated Torch or Tensorflow)
- [Solved] RuntimeError: Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the
- [Solved] torchvision Error: UserWarning: Failed to load image Python extension: Could not find module
- [Pytorch Error Solution] Pytorch distributed RuntimeError: Address already in use
- [Solved] HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/saved_model
- [Solved] Error(s) in loading state_dict for GeneratorResNet
- [Solved] Pytorch Download CIFAR1 Datas Error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi
- Pytorch directly creates a tensor on the GPU error [How to Solve]
- [Solved] TypeError: __init__() missing 1 required positional argument: ‘on_delete’
- [Solved] RuntimeError: cuda runtime error: device-side assert trigger
- Pytorch torch.cuda.FloatTensor Error: RuntimeError: one of the variables needed for gradient computation has…