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

AttributeError: type object 'pycocotools._mask.RLEs' has no attribute '__reduce_cython__' #3097

Open
backgomc opened this issue Aug 26, 2019 · 0 comments

Comments

@backgomc
Copy link

commented Aug 26, 2019

I'm trying to run Mask R-CNN with docker.
but it's not working.
how can i fix it!!


AttributeError Traceback (most recent call last)
in ()
18 # Import COCO config
19 sys.path.append(os.path.join(ROOT_DIR, "samples/coco/")) # To find local version
---> 20 import coco
21
22 get_ipython().run_line_magic('matplotlib', 'inline')

/data/data/Mask_RCNN/samples/coco/coco.py in ()
40 # If the PR is merged then use the original repo.
41 # Note: Edit PythonAPI/Makefile and replace "python" with "python3".
---> 42 from pycocotools.coco import COCO
43 from pycocotools.cocoeval import COCOeval
44 from pycocotools import mask as maskUtils

/usr/local/lib/python3.6/dist-packages/pycocotools/coco.py in ()
53 import copy
54 import itertools
---> 55 from . import mask as maskUtils
56 import os
57 from collections import defaultdict

/usr/local/lib/python3.6/dist-packages/pycocotools/mask.py in ()
1 author = 'tsungyi'
2
----> 3 import pycocotools._mask as _mask
4
5 # Interface for manipulating masks stored in RLE format.

pycocotools/_mask.pyx in init pycocotools._mask()

AttributeError: type object 'pycocotools._mask.RLEs' has no attribute 'reduce_cython'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.