akshaybahadur21 / Emojinator

A simple emoji classifier for humans. 🖖
MIT License
501 stars 190 forks source link

What version of tensorflow and keras works for this code? #9

Closed rrohit1 closed 5 years ago

rrohit1 commented 5 years ago

What version of tensorflow and keras works for this code. I'm getting an error when running Emojinator.py saying /anaconda3/lib/python3.7/site-packages/numpy/lib/type_check.py", line 489, in asscalar return a.item() UnboundLocalError: local variable 'a' referenced before assignment

Lucky94 commented 5 years ago

@rrohit1 Tensorflow does not support python3.7 fully, downgrading to python3.6 solves the problem mentioned. Hope this helps.

akshaybahadur21 commented 5 years ago

@Lucky94 - Thanks. @rrohit1 - Used python 3.6. For 3.7, there would be minor adjustments.

akshaybahadur21 commented 5 years ago

Closing issue.