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

PSF layer install error #1

Open
sunnyHelen opened this issue Aug 9, 2019 · 7 comments · May be fixed by #5
Open

PSF layer install error #1

sunnyHelen opened this issue Aug 9, 2019 · 7 comments · May be fixed by #5

Comments

@sunnyHelen
Copy link

Thank you for sharing your work. I'd like to try the code, but the first step installing is with something wrong. Could you please help me?
image

@everythoughthelps
Copy link

i met this problem too,have you solve it?

@fuy34
Copy link

fuy34 commented May 18, 2020

I solved it by replacing the original path in the setup.py with absolute path.

@Crispig
Copy link

Crispig commented Aug 24, 2020

I solved it by replacing the original path in the setup.py with absolute path.

You are right! replace "gauss_psf_kernel.cu" with "gauss_psf_cuda_kernel.cu" in setup.py

@xuejiancai
Copy link

I solved it by replacing the original path in the setup.py with absolute path.

You are right! replace "gauss_psf_kernel.cu" with "gauss_psf_cuda_kernel.cu" in setup.py

I do the same with you,but it got error:
g++: error: /home/xxx/torch_project/UnsupervisedDepthFromFocus-master/UnsupervisedDepthFromFocus-master/ext/build/temp.linux-x86_64-3.8/gauss_psf_cuda.o: 没有那个文件或目录
g++: error: /home/xxx/torch_project/UnsupervisedDepthFromFocus-master/UnsupervisedDepthFromFocus-master/ext/build/temp.linux-x86_64-3.8/gauss_psf_cuda_kernel.o: 没有那个文件或目录
could you help me? @Crispig thx!

@Crispig
Copy link

Crispig commented Dec 28, 2021

I forget the details of this project, but I remember that there is a difference between the call to some files in the setup file and the actual file names, so you can pay attention to that. @xuejiancai

@xuejiancai
Copy link

I forget the details of this project, but I remember that there is a difference between the call to some files in the setup file and the actual file names, so you can pay attention to that. @xuejiancai

ok,thx!

@Moushumi9medhi
Copy link

Moushumi9medhi commented Aug 29, 2024

In case this still helps anyone, I solved it by renaming the "gauss_psf_kernel.cu" with "gauss_psf_cuda_kernel.cu" in setup.py and copying all the files inside the ext/ directory to the main folder. Then I had run the setup file inside the main folder.

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