Closed ahariri13 closed 3 years ago
Hi @ahariri13. Could you please let me know the command you used for installation?
Hi @justanhduc , On Google Colab:
!pip install git+git://github.com/justanhduc/neuralnet-pytorch.git@master
!pip install "neuralnet-pytorch[geom] @ git+git://github.com/justanhduc/neuralnet-pytorch.git@master"
!pip install neuralnet-pytorch --global-option="--cuda-ext"
A while ago there was a branch called "fancy" i think which i used to clone and it worked fine but that branch has been removed i believe ?
I merged the two branches as I don't want to maintain both and use a flag to install the "fancy" branch. Could you try clone the repo and try
python setup.py install --cuda-ext
Hi @justanhduc , may i know is there a way to solve this error by just using pip install ? Because in my computer install package using python setup.py always fail.
Hey @TreeberryTomato. This is the pip way
pip install git+git://github.com/justanhduc/neuralnet-pytorch.git@master
but I don't think it's gonna work either as what pip does is simply download the source and compile. I think what you meant is binary but unfortunately I don't provide binary.
Could you plz paste your error log here?
LINK : fatal error LNK1181: cannot open input file 'C:\neuralnet-pytorch-master\build\temp.win-amd64-3.6\Release\neuralnet-pytorch-master\neuralnet_pytorch\extensions\csrc\bindings.obj' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\link.exe' failed with exit status 1181
There is no obj file in that path, don't know why it didn't produce the obj file
Have you tried compiling Pytorch C++ code on Windows before?
No, always use pip
Then I don't think your environment setting is correct to compile from source. Please setup the environment so that you can compile Pytorch custom C++/CUDA codes first and try again.
I installed all recommended packages but i get this error when i try to use emd loss.