PytorchStreamReader failed reading zip archive: failed finding central directory
The 1.6 release of PyTorch switched ``torch.save`` to use a newzipfile-based file format. ``torch.load`` still retains the ability toload files in the old format. If for any reason you want ``torch.sa
·
The 1.6 release of PyTorch switched ``torch.save`` to use a new zipfile-based file format. ``torch.load`` still retains the ability to load files in the old format. If for any reason you want ``torch.save`` to use the old format, pass the kwarg ``_use_new_zipfile_serialization=False``.
更多推荐
所有评论(0)