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

I am getting: 4 errors generated. make[2]: *** [src/ATen/CMakeFiles/ATen.dir/ATen/CPUByteType.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /Volumes/Hodge/dev/pytorch-cpp/ATen/build/src/ATen/ATen/CPUCharType.cpp:1913:12: error: conversion from 'long' to 'at::Scalar' is ambiguous return THCharTensor_sumall(self_->tensor); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Volumes/Hodge/dev/pytorch-cpp/ATen/src/ATen/../ATen/Scalar.h:25:26:...

bug
macos

Hi, thank you first, I want to use C++ api to call the deep learning model of pytorch. but I not sure the project is easy to deploy in centos...

When I compiled the project, I got errors: > pytorch.cpp:356:63: error: ‘THNN_Threshold_updateOutput’ was not declared in this scope > THNN_Threshold_updateOutput(input, input, 0, 0, true) ; > ... I have installed...

expecting_user_feedback

Have you tested the speed? I get a lower speed(30ms/img) with resnet18 224*224 bachsize1

question

``` HDF5-DIAG: Error detected in HDF5 (1.8.19) thread 0: #000: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5F.c line 602 in H5Fopen(): unable to open file major: File accessibilty minor: Unable to open file #001: /home/samh/dev/pytorch-cpp/CMake-hdf5-1.8.19/hdf5-1.8.19/src/H5Fint.c line...

question

Does Pytorch-cpp support Pytorch 0.3.1?

question

In CPU mode, what is the BLAS as default? how to support intel MKL? Thanks, Adam Wang

question

is rnn/lstm/gru supported and tested using this pytorch-cpp lib?

enhancement
question

Dear @warmspringwinds, Your project is fantastic. Do you have nay plan for continuing it? For example by implementing other PyTorch's layers (e.g., nn.Dropout2d, nn.Conv3d)?

enhancement

Inspect the ```preprocess_batch``` -- it might cause the transfer to CPU in case we are working with GPU tensors. Having fixed that will improve the performance. https://github.com/warmspringwinds/pytorch-cpp/blob/master/src/pytorch.cpp#L1280

bug
enhancement