Open IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd opened 5 years ago
[image: TIM图片20191013191853.png]
Doesn't load?
你运行成功了吗?
still not working on colab
It works by installing torch in colab, I did a fork of the repo and add some modification to the makefile and gen_all.py files to be able to launch it in colab, there is a notebook as well that you can directly use https://github.com/marcduda/deep-painterly-harmonization
@marcduda
in deep_painterly_harmonization_colab.ipynb
!make clean && make
error:
find . -type f | xargs -n 5 touch rm -f libcuda_utils.so /usr/local/cuda-8.0/bin/nvcc -arch sm_35 -O3 -DNDEBUG -Xcompiler -fopenmp --compiler-options '-fPIC' -o libcuda_utils.so --shared cuda_utils.cu -I/home/ubuntu/torch/install/include/THC -I/home/ubuntu/torch/install/include/TH -I/home/ubuntu/torch/install/include -L/home/ubuntu/torch/install/lib -Xlinker -rpath,/home/ubuntu/torch/install/lib -lluaT -lTHC -lTH -lpng -lluajit -lgomp make: /usr/local/cuda-8.0/bin/nvcc: Command not found makefile:10: recipe for target 'libcuda_utils.so' failed make: *** [libcuda_utils.so] Error 127
!python gen_all.py
error:
sh: 1: th: not found
i refreshed the repo, can you retry ?
@marcduda All errors remain. Can you give a link to collab that works for you? Or a copy of the code with execution logs.
I copied all the code from there and got errors. But then I just clicked "Open in Colab" and everything worked :-\
a working colab: https://github.com/luanfujun/deep-painterly-harmonization/issues/63
Seems like no one has been able to do this? I have been fiddling for a few hours, figured I was ask here while still working. thanks.