pytorch-cpp icon indicating copy to clipboard operation
pytorch-cpp copied to clipboard

Pytorch C++ Library

Results 20 pytorch-cpp issues
Sort by recently updated
recently updated
newest added

How to installn pytorch cpp on Windows? Is it possible?

Hi! Does pytorch-cpp support any conversion from customized models built in pytorch, or does it only support standard models (e.g. vgg, res-net) and your own segmentation models? Big thanks!

The error occurred at runtime while trying to run this example: https://github.com/goldsborough/examples/blob/cpp/cpp/mnist/mnist.cpp Stack trace: ``` terminate called after throwing an instance of 'c10::Error' what(): input.ndimension() == 4 ASSERT FAILED at...

I have a tensor A shape [1,256,15,20] and B shape [1,1,15,20], when I use A.div(B), it error. the error is `terminate called after throwing an instance of 'std::runtime_error' what(): invalid...

When I run the convert_weights.ipynb with my own model which is a pretrained Dual Path Network(DPN): ![image](https://user-images.githubusercontent.com/25402067/43190278-3b3a0b8e-902b-11e8-83e3-f7e2b0268d6d.png) A mistake happend : ![image](https://user-images.githubusercontent.com/25402067/43190309-4d631c56-902b-11e8-8370-9603983f32f0.png) ![image](https://user-images.githubusercontent.com/25402067/43190330-593a4e46-902b-11e8-8e1c-cb5516968e3e.png) Could you please tell me why this...

I converted a custom resnet18 model weights to h5 and loaded to the cpp version model which l created based on your sample code. I also inspected the weights before...

How to convert Type of Aten? from kByte to kFloat?

Conversion from float std::vector to Aten Tensor and vice versa?

Where Are you get this function ? What is version of hdf5 version? I use 1.10.1 And I can't find get_hdf5_file_keys() fucntion

Hi, I've a pretrained model which is saved as a pth.tar file, so is it possible to use pytorch-cpp to inference?