Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any luck getting this going with fastAI on colab? #40

Open
IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd opened this issue Oct 12, 2019 · 10 comments

Comments

@IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd

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.

@IEWbgfnYDwHRoRRSKtkdyMDUzgdwuBYgDKtDJWd

[image: TIM图片20191013191853.png]

Doesn't load?

@ghost
Copy link

ghost commented Oct 26, 2019

你运行成功了吗?

@AlexRMU
Copy link

AlexRMU commented Apr 26, 2020

still not working on colab

@marcduda
Copy link

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

@AlexRMU
Copy link

AlexRMU commented May 25, 2020

@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

@marcduda
Copy link

i refreshed the repo, can you retry ?

@AlexRMU
Copy link

AlexRMU commented May 26, 2020

@marcduda
All errors remain. Can you give a link to collab that works for you? Or a copy of the code with execution logs.

@AlexRMU
Copy link

AlexRMU commented May 26, 2020

I copied all the code from there and got errors.
But then I just clicked "Open in Colab" and everything worked :-\

@eyaler
Copy link

eyaler commented Jan 2, 2022

a working colab: #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants