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
- [Solved] bushi RuntimeError: version_ <= kMaxSupportedFileFormatVersion INTERNAL ASSERT FAILED at /pytorch/caffe2/s
- [Solved] D2lzh_Pytorch Import error: importerror: DLL load failed while importing
- Brew Install python Error: tar: Error opening archive: Failed to open’***‘
- Pytorch ValueError: Expected more than 1 value per channel when training, got input size [1, 768
- [Solved] Pytorch Install Error: Solving environment: failed with initial frozen solve. Retrying with flexible solve
- [Solved] Pytorch Error: RuntimeError: Error(s) in loading state_dict for Network: size mismatch
- [Pytorch Error Solution] Pytorch distributed RuntimeError: Address already in use
- [Solved] PyTorch Lightning Error: KeyError: ‘hidden_states‘
- Pytorch directly creates a tensor on the GPU error [How to Solve]
- Install PyTorch in Anaconda environment
- Pytorch torch.cuda.FloatTensor Error: RuntimeError: one of the variables needed for gradient computation has…
- [Solved] Pytorch-transformers Error: AttributeError: ‘str‘ object has no attribute ‘shape‘
- Pytorch Run Error: BrokenPipeError [How to Solve]
- [Solved] PyTorch Load Model Error: Missing key(s) RuntimeError: Error(s) in loading state_dict for
- [Solved] RuntimeError : PyTorch was compiled without NumPy support
- Pytorch Loading model error: RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict
- [Solved] Pytorch Download CIFAR1 Datas Error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi
- pytorch model.load_state_dict Error [How to Solve]
- [Solved] Pytorch Error: RuntimeError: expected scalar type Double but found Float