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

Compatibility issue #45

Open
elon-trump opened this issue Oct 4, 2023 · 0 comments
Open

Compatibility issue #45

elon-trump opened this issue Oct 4, 2023 · 0 comments

Comments

@elon-trump
Copy link

Just after cloning, while initializing, got the multiple warnings/errors. Below here is detailed explaination what i did for perticular warnings/errors:

  1. Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/rajeshjat Desktop/Dota 2/Faster_RCNN_for_DOTA/lib/dataset/pycocotools/_mask.pyx

to resolve this: I used, language_level = 3 earlier it was language_level = None in the

  1. There were multiple errors similar to maskApi.c: In function ‘rlesFree’: maskApi.c:29:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 29 | for(siz i=0; i<n; i++) rleFree((*R)+i); free(*R); *R=0;

to resolve this : rewrote complete maskAPI.c to make sure proper use of indentation.

  1. In the setup_linux.py, replaced iteritems() with items()

Is it Okay to make these changes?? Or should i clone it again?

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

1 participant