I made this plugin to launch script modules trained in PyTorch. PyTorch has C++ frontend which can work without Python, and this is great, but, as I figured out, it conflicts with UE4. So I added a wrapper dll loaded in runtime, and now you can launch your trained neural nets from UE4.
Hey @YuriNK@Diomedes246 is there a sample implementation of this? Im interested in bringing in MiDaS pytorch model for media depth estimation (after which i can estimate the normal map so video textures can be relit)
Download release of the plugin from github, it already contains all pytorch DLLs inside.
I have implementation in my project which I can’t share, but here is a short sample. Note: you need to be very accurate with size and shape of tensors. Any error cause crash.