Closed HungNgoCT closed 6 months ago
@HungNgoCT , i am sucessful in win10: my conda env is:
1> conda install the envs likes it, download the libtorch: https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.0.1%2Bcu118.zip 2> then open the Anaconda Prompt(Miniconda3) cmd black windows with administrator privileges 3> activate conda env, and cd the trips fold dir 4> run the two cmd:
cmake -Bbuild -DCMAKE_CUDA_COMPILER="%CUDA_PATH%\bin\nvcc.exe" -DCMAKE_PREFIX_PATH=".\External\libtorch" -DCONDA_P_PATH="%CONDA_PREFIX%" -DCUDA_P_PATH="%CUDA_PATH%" -DCMAKE_BUILD_TYPE=RelWithDebInfo .
and
cmake --build build --config RelWithDebInfo -j
5> run train or viewer...
1> conda install the envs likes it, download the libtorch: https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.0.1%2Bcu118.zip
Thank you @luoww1992 .
I use the libtorch version in the link (1> conda install the envs likes it, download the libtorch: https://download.pytorch.org/libtorch/cu118/libtorch-win-shared-with-deps-2.0.1%2Bcu118.zip) you given, it works.
The reason because I used the latest libtorch version which I downloaded from pytorch page, the c10::guts::to_string() function was removed.
Thanks again @luoww1992
The problem solved, let it closes here
Hi.,
Thank you for the code.
I followed the guidance for compiling using: -Visual studio community 2022 -Cuda 11.8 -CuDNN for cuda 11.8
Using cmake, can generate config and .sln file without any problems.
However, I open the solution file in VS 2022, the I got the error as in the image below.
I think I have a problems with C10 version.
Can anybody help me to solve this.
Thank you in advance