Necto
Necto copied to clipboard
Fix loading the model on non-ascii paths
torch.jit.load(path)
fails with non-ascii paths (https://github.com/pytorch/pytorch/issues/75171). Until that is fixed, the workaround is opening the file with open(path, "rb")
and passing the file object to torch.jit.load
instead.