on file PyTorchUnpickler code line 163
torch.Tensor t = torch.WrappedTensorDisposeScope(() =>
torch.empty(shape, arg0.dtype).as_strided(shape, stride, storageOffset));
when load file segment-anything sam_vit_b_01ec64.pth pth file,it's error:System.Runtime.InteropServices.ExternalException:“setStorage: sizes [4, 256], strides [256, 1], storage offset 256, and itemsize 4 requiring a storage size of 5120 are out of bounds for storage of size 4096.
look like it's shape mismatch
on file PyTorchUnpickler code line 163 torch.Tensor t = torch.WrappedTensorDisposeScope(() => torch.empty(shape, arg0.dtype).as_strided(shape, stride, storageOffset));
when load file segment-anything sam_vit_b_01ec64.pth pth file,it's error:System.Runtime.InteropServices.ExternalException:“setStorage: sizes [4, 256], strides [256, 1], storage offset 256, and itemsize 4 requiring a storage size of 5120 are out of bounds for storage of size 4096. look like it's shape mismatch