ryankiros / neural-storyteller

A recurrent neural network for generating little stories about images
2.96k stars 540 forks source link

ImportError: cannot import name hough_ellipse & ValueError: numpy.dtype has the wrong size, try recompiling?? #10

Closed andyyuan78 closed 8 years ago

andyyuan78 commented 8 years ago

envy@ub1404:/media/envy/data1t/os_prj/github/neural-storyteller$ pip show numpy

Name: numpy Version: 1.8.2 Location: /usr/lib/python2.7/dist-packages Requires:

envy@ub1404:/media/envy/data1t/os_prj/github/neural-storyteller$ pip show scipy

Name: scipy Version: 0.17.0 Location: /usr/local/lib/python2.7/dist-packages Requires: envy@ub1404:/media/envy/data1t/os_prj/github/neural-storyteller$

envy@ub1404:/media/envy/data1t/os_prj/github/neural-storyteller$ python Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import generate Traceback (most recent call last): File "", line 1, in File "generate.py", line 8, in import skimage.transform File "/home/envy/.local/lib/python2.7/site-packages/skimage/transform/init.py", line 1, in from ._hough_transform import (hough_ellipse, hough_line, File "init.pxd", line 155, in init skimage.transform._hough_transform (skimage/transform/_hough_transform.c:22288) ValueError: numpy.dtype has the wrong size, try recompiling

import generate Traceback (most recent call last): File "", line 1, in File "generate.py", line 8, in import skimage.transform File "/home/envy/.local/lib/python2.7/site-packages/skimage/transform/init.py", line 1, in from ._hough_transform import (hough_ellipse, hough_line, ImportError: cannot import name hough_ellipse

which

andyyuan78 commented 8 years ago

numpy update can fix it