Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ownphotos fails to start, complains about COCO import #56

Closed
guysoft opened this issue Jan 16, 2019 · 1 comment
Closed

Ownphotos fails to start, complains about COCO import #56

guysoft opened this issue Jan 16, 2019 · 1 comment

Comments

@guysoft
Copy link
Collaborator

guysoft commented Jan 16, 2019

Looks like something in the container breaks /code/api/im2txt/build_vocab.py

There is an import there from pycocotools.coco import COCO

Which now gives in the commandline:

>>> from pycocotools.coco import COCO
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/venv/lib/python3.5/site-packages/pycocotools/coco.py", line 55, in <module>
    from . import mask as maskUtils
  File "/venv/lib/python3.5/site-packages/pycocotools/mask.py", line 3, in <module>
    import pycocotools._mask as _mask
  File "__init__.pxd", line 918, in init pycocotools._mask
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject
>>> 
@guysoft
Copy link
Collaborator Author

guysoft commented Jan 17, 2019

Better commit message could be "switched from pip to conda". Because switching to Anaconda is also a distribution/support decision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants