SciSharp / Torch.NET

.NET bindings for PyTorch. Machine Learning with C# / F# with Multi-GPU/CPU support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

running model

pdeman opened this issue · comments

is there any examples to run an already trained model ? I have the .pth and I want to run it on images.

and I tried to compile SimpleNeuralNetworkExample and I got these errors:
image

You should try to find a Python example and then see if it can be converted to Torch.NET. If not, at least you could provide something like SimpleNeuralNetworkExample that shows what exactly needs to be done to get your use-case working. So if you help me out I'll do my best to wrap whatever is missing if it is not too much work.

As for the SimpleNeuralNetworkExample: Yes, Torch.NET is not done. This example shows where the work in progress is currently at.