About 51 results
Open links in new tab
  1. pytorch - How to train a neural network model from scratch using …

    Jan 25, 2023 · Any suggestions, keeping in mind that everything needs to be in C#.NET? There is one other thing to add. I guess I can load and run the model using TorchSharp itself but there is already …

  2. MissingMethodException: Method not found: '!!0 TorchSharp ...

    Jun 16, 2024 · To solve this problem: downgrade version TorchSharp-cuda-windows to (0.101.5), If TorchSharp places in Transitive packages it will downgraded automatically to (0.101.5) This solution …

  3. Unable to load DLL 'LibTorchSharp' or one of its dependencies: The ...

    Aug 30, 2024 · I've tried importing the more-general packages of TorchSharp or TorchSharp-cpu as well, but that results in different exceptions stemming from it trying to access the CUDA packages, so …

  4. .net - System.AccessViolationException: Attempted to read or write ...

    Jun 23, 2024 · System.AccessViolationException: Attempted to read or write protected memory at TorchSharp.PInvoke.LibTorchSharp.THSGenerator_manual_seed Asked 1 year, 7 months ago …

  5. Can't build the project with TorchSharp-cuda-windows

    Mar 20, 2024 · Can't build the project with TorchSharp-cuda-windows Asked 1 year, 10 months ago Modified 1 year, 10 months ago Viewed 222 times

  6. CUDA issue with NER (Named Entity Recognition) for ML predictions

    Nov 7, 2023 · Field not found: 'TorchSharp.torch.CUDA'. I may have misunderstood something here, but I should be processing with CPU from the Torchsharp-cpu package and I'm not sure where the …

  7. How to do data or model parallel training? - Stack Overflow

    Sep 13, 2023 · It doesn't seem supported by TorchSharp out of the box, correct me if I'm wrong. Even if that is not supported out of the box, do you have examples how to do it making data transfers …

  8. How to use PyTorch's nn.MultiheadAttention - Stack Overflow

    Mar 14, 2022 · I want to use PyTorch's nn.MultiheadAttention but it doesn't work. I just want to use the functionality of pytorch for the manual calculated example of attention I ...

  9. python - Size Mismatch Error When Loading State Dict for ...

    Jan 18, 2025 · RuntimeError: Error(s) in loading state_dict for TransformerDecoderModel: size mismatch for embed.weight: copying a param with shape torch.Size([10000, 128]) from checkpoint, the shape …

  10. Object detection using YoloV5 in C# - Stack Overflow

    Sep 26, 2021 · @LOST Thanks for letting me know about TorchSharp, I will look into that. But I also understand the point you made in your first comment. I mostly wanted to know if there was a better …