tscohen / GrouPy

Group Equivariant Convolutional Neural Networks
http://ta.co.nl
Other
353 stars 85 forks source link

can't install GrouPy successfully #12

Closed shuida closed 6 years ago

shuida commented 6 years ago

I get some trouble when I install Groupy according to README.md.

After installing chainer with cupy and tensorflow-gpu, I run "chainer.backends.cuda.available" and "chainer.backends.cuda.cudnn_enabled", they all return True. However, when I run "nosetests -v", it shows as below. Failure: CompileException (/tmp/tmpezKDyD/kern.cu(14): error: a value of type "const ptrdiff_t " cannot be used to initialize an entity of type "const int " /tmp/tmpezKDyD/kern.cu(15): error: a value of type "const ptrdiff_t " cannot be used to initialize an entity of type "const int "

I just skiped it and run the examples in the "Getting Started". The tensorflow example can run without any error, but the chainer example has some wrong as shown belowed. File "/data/mbqiu/anaconda3/envs/gconv-python2.7/lib/python2.7/site-packages/groupy/gconv/chainer_gconv/transform_filter.py", line 8, in from groupy.gconv.chainer_gconv.kernels.integer_indexing_cuda_kernel import grad_index_group_func_kernel ImportError: No module named kernels.integer_indexing_cuda_kernel

I checked carefully and found that the two subdirectories--kernels and pooling--is lost from gconv/chainer_gconv/.

my version is ubuntu==16.04, cuda==8.0, chainer==4.5.0, cupy-cuda80==4.5.0, tensorflow-gpu=1.4.0.

What's wrong?

tscohen commented 6 years ago

I'm pretty sure it doesn't work with the latest version of Chainer. Try installing a version from 2016/2017.