Pytoch reports an error: pytochstreamreader 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:
Download the files from the above URL and put them in the location of the path behind to replace the weights that have not been downloaded
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’***‘
- [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
- [Solved] PyTorch Lightning Error: KeyError: ‘hidden_states‘
- Pytorch ValueError: Expected more than 1 value per channel when training, got input size [1, 768
- [Pytorch Error Solution] Pytorch distributed RuntimeError: Address already in use
- [Solved] PyTorch Load Model Error: Missing key(s) RuntimeError: Error(s) in loading state_dict for
- [zipfile] Python packages files as zip packages & decompresses them
- How to Solve Pytorch DataLoader Loading Error: UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xe5 in position 1023
- pytorch model.load_state_dict Error [How to Solve]
- Pytorch directly creates a tensor on the GPU error [How to Solve]
- [Solved] Pytorch Download CIFAR1 Datas Error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi
- Install PyTorch in Anaconda environment
- Pytorch Loading model error: RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict
- [Solved] PyTorch Error: TypeError: exceptions must derive from BaseException
- [pl.LightningModule] spaCy & pytorch-lightning Error
- Pytorch Error: runtimeerror: expected scalar type double but found float