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

About the pre_net_weight #2

Open
ZhangMingHui123 opened this issue Sep 24, 2019 · 10 comments
Open

About the pre_net_weight #2

ZhangMingHui123 opened this issue Sep 24, 2019 · 10 comments

Comments

@ZhangMingHui123
Copy link

Hello,Shall you tell me where should i put the pre_net_186.pth?
i wish get your reply,thanks!!

@silviazuffi
Copy link
Owner

silviazuffi commented Sep 24, 2019 via email

@ZhangMingHui123
Copy link
Author

thankyou for reply,i have done that,but give me the error report:No such file or directory: 'smalst_experiments/demo_var_feat/proc_frame0066_init_res.pkl'
where can i get the proc_frame0066_init_res.pkl?
wish your reply,thank you very much!!

@silviazuffi
Copy link
Owner

silviazuffi commented Sep 24, 2019 via email

@ZhangMingHui123
Copy link
Author

OK,I will try,thankyou again
but i want to ask, will you share the trainingset? I had saw someone put forward the question that the trainset has only ten pictures!

@silviazuffi
Copy link
Owner

silviazuffi commented Sep 24, 2019 via email

@ZhangMingHui123
Copy link
Author

Thank you but i have another strange problem,i have set up the cuda, but have the problem:
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/chainer/backends/cuda.py", line 80, in check_cuda_available
raise RuntimeError(msg)
RuntimeError: CUDA environment is not correctly set up
Why this happened?

@silviazuffi
Copy link
Owner

silviazuffi commented Sep 24, 2019 via email

@ZhangMingHui123
Copy link
Author

thank you for your reply,but i really confused the cupy. i had installed cupy and my version cuda is9.2
however when all packages installed,i still encountered the problem:
File "build/bdist.linux-x86_64/egg/neural_renderer/cross.py", line 39, in forward_gpu
File "cupy/core/_kernel.pyx", line 571, in cupy.core._kernel.ElementwiseKernel.call
File "cupy/core/_kernel.pyx", line 593, in cupy.core._kernel.ElementwiseKernel._get_elementwise_kernel
File "cupy/core/_kernel.pyx", line 402, in cupy.core._kernel._get_elementwise_kernel
File "cupy/core/_kernel.pyx", line 40, in cupy.core._kernel._get_simple_elementwise_kernel
File "cupy/core/_kernel.pyx", line 60, in cupy.core._kernel._get_simple_elementwise_kernel
File "cupy/core/carray.pxi", line 166, in cupy.core.core.compile_with_cache
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 165, in compile_with_cache
ptx = compile_using_nvrtc(source, options, arch, name + '.cu')
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 81, in compile_using_nvrtc
ptx = prog.compile(options)
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 246, in compile
raise CompileException(log, self.src, self.name, options)
cupy.cuda.compiler.CompileException: /home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/core/include/cupy/carray.cuh(281): warning: statement is unreachable
detected during instantiation of "void CIndexer<_ndim>::set(ptrdiff_t) [with _ndim=1]"
/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(10): here

/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(13): error: a value of type "const float *" cannot be used to initialize an entity of type "float *"

/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(14): error: a value of type "const float *" cannot be used to initialize an entity of type "float *"

2 errors detected in the compilation of "/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu".

Can you give me some advice?Wish your reply,Thank you!

@silviazuffi
Copy link
Owner

silviazuffi commented Sep 24, 2019 via email

@Oblivior
Copy link

thank you for your reply,but i really confused the cupy. i had installed cupy and my version cuda is9.2
however when all packages installed,i still encountered the problem:
File "build/bdist.linux-x86_64/egg/neural_renderer/cross.py", line 39, in forward_gpu
File "cupy/core/_kernel.pyx", line 571, in cupy.core._kernel.ElementwiseKernel.call
File "cupy/core/_kernel.pyx", line 593, in cupy.core._kernel.ElementwiseKernel._get_elementwise_kernel
File "cupy/core/_kernel.pyx", line 402, in cupy.core._kernel._get_elementwise_kernel
File "cupy/core/_kernel.pyx", line 40, in cupy.core._kernel._get_simple_elementwise_kernel
File "cupy/core/_kernel.pyx", line 60, in cupy.core._kernel._get_simple_elementwise_kernel
File "cupy/core/carray.pxi", line 166, in cupy.core.core.compile_with_cache
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 165, in compile_with_cache
ptx = compile_using_nvrtc(source, options, arch, name + '.cu')
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 81, in compile_using_nvrtc
ptx = prog.compile(options)
File "/home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/cuda/compiler.py", line 246, in compile
raise CompileException(log, self.src, self.name, options)
cupy.cuda.compiler.CompileException: /home/zmh/anaconda3/envs/py2.7/lib/python2.7/site-packages/cupy/core/include/cupy/carray.cuh(281): warning: statement is unreachable
detected during instantiation of "void CIndexer<_ndim>::set(ptrdiff_t) [with _ndim=1]"
/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(10): here

/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(13): error: a value of type "const float *" cannot be used to initialize an entity of type "float *"

/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu(14): error: a value of type "const float *" cannot be used to initialize an entity of type "float *"

2 errors detected in the compilation of "/tmp/tmpoXpfKI/1509154ce7f1e8ab8eef26ae4980f22a_2.cubin.cu".

Can you give me some advice?Wish your reply,Thank you!

Hi,
Have you solved this problem?

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

3 participants