NextGen-GameDev / LibTorch-UE

Integrate LibTorch Unreal to create and use neural networks without leveraging Python.
MIT License
19 stars 4 forks source link

UE 5.3 compile problem #3

Closed LukaLake closed 5 months ago

LukaLake commented 6 months ago

Getting a weird error of error C2039: "get": not a member of "c10". and error C2039: "get_if": not a member of "c10" Is that related to VS or Unreal?

LukaLake commented 6 months ago

It seems that replacing c10::get with std::get can solve the problem. The same with c10::get_if.

P1ayer-1 commented 6 months ago

Hello, I apologize for the delayed response. Thank you for the suggested fix. Others in the Discord server have encountered this issue. Until I implement your solution, you can bypass the issue using LibTorch 2.1.0.

Also, if you are unaware, I have created multiple YouTube tutorials on the basics of this plugin. Feel free to join the Discord server if you have any other questions or issues. I'm happy to help :)

YouTube Tutorials: Basic Usage & Using Llama

Discord: Invite Link