Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

torchvision\io\image.py:13: UserWarning: Failed to load image Python extension:

torch\_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x000001C0E1363820>.

  warnings.warn(f"Unable to retrieve source for @torch.jit._overload function: {func}.")

torch\_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x000001C0E13638B0>.

  warnings.warn(f"Unable to retrieve source for @torch.jit._overload function: {func}.")

//how to fix this//

Did you solve this? I have the same problem

I'm pretty sure it's only a warning that you can ignore

https://discuss.pytorch.org/t/issue-with-torch-git-source-in-pyinstaller/135446/...

Yes, I think it's because you can't use images as a source unless you pay $8 a month!