You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
I changed some code as bellow:
1. You need C++14 to compile PyTorch
If you got errors like
C++ 14 is required
, you can addset(CMAKE_CXX_STANDARD 14)
to example/CMakeLists.txt, like this:2. no matching function for call to '
torch::jit::RegisterOperators::RegisterOperators
Use
torch::RegisterOperators()
instead oftorch::jit::RegisterOperator()
, it will be ok.3. Docker download fail
If the downloading speed of PyTorch is too slow , you can change line 18 in your Dockerfile as follows:
RUN . /activate && conda install pytorch torchvision cpuonly -c pytorch
But when I ran
python script.py
, I got the same error as #4What is the version of pytorch and libtorch used in this project ?
The text was updated successfully, but these errors were encountered: