Welcome to TorchSharpExamples Discussions! #1
Replies: 2 comments
-
Does anyone know if there are examples of creating an LSTM model with TorchSharp? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi! - new here. I've been using F# for ~ 20 years and NNs mainly with Keras / Python due to frustration with the .net libs for keras. A few people recommended PyTorch and TorchSharp in particular, and I was setting up a new machine from scratch so I thought it would be a good chance to give it a try. First a compliment - the OOTB install experience was light night and day vs previous libraries. You've all done a wonderful job of packaging the nightmare combination of drivers needed to get CUDA running. It was all installed first try. I'm working my way through the tutorials. I had a couple of quick , probably dumb questions but I wanted to share while I'm still naive to the right way to to things. I like to cut and paste a hello world example, get it working and then modify it to build what I want. Right now I'm trying to build a quick and dirty multi layer linear model (nothing fancy), and I started with the MNIST example since I am familiar with the keras equivalent. The really naive - paste the core code into a .fs file, add the headers and deps failed. The The second question was whether the class / object as model is mandatory or if it works to just build up the net and use it. Maybe there's a drawback to not having an underlying object, but that feels more complicated than needed. I might just be unfamiliar with pytorch idioms thoughs, so apologies if I'm missing the point. I'll keep playing with it, but would be happy to move over to using this as my main deep learning workhorse. Thanks in advance, |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions