EvilPort2 / Sign-Language

A very simple CNN project.
759 stars 354 forks source link

ValueError: input array dimensions do not match #21

Closed tsytiff closed 5 years ago

tsytiff commented 5 years ago

I am trying to run the file fun_util.py

However, the following Error Message appears:

Using TensorFlow backend. Traceback (most recent call last): File "/xxx/Sign-Language-master-2/fun_util.py", line 317, in recognize() File "/xxx/Sign-Language-master-2/fun_util.py", line 310, in recognize keypress = text_mode(cam) File "/xxx/Sign-Language-master-2/fun_util.py", line 284, in text_mode res = np.hstack((img, blackboard)) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/numpy/core/shape_base.py", line 288, in hstack return _nx.concatenate(arrs, 1) ValueError: all the input array dimensions except for the concatenation axis must match exactly

Since I am a beginner trying to learn, I can't figure out what's happening. May anyone helps? Thanks.