tscohen / GrouPy

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

Python version #8

Closed dqii closed 6 years ago

dqii commented 6 years ago

Hi! I was wondering if the Tensorflow code was written for Python 2.7 or Python 3. Currently, running the sample code I got no error with Python 2.7, but "ValueError: ("Size of label '%s' for operand %d does not match previous terms.", 'G', 1)" when running on Python3.

Thank you!

lgeiger commented 6 years ago

You can try out https://github.com/ehoogeboom/hexaconv/pull/2 which works on Python 3. Happy to get more people trying it out.

dqii commented 6 years ago

I'll try it out, thank you! :) Glad it works in Tensorflow. As a separate update, I had been using numpy 1.14.1 with my Python 2.7 environment and 1.14.0 with Python 3. Upgrading numpy addressed the issue.