You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just after cloning, while initializing, got the multiple warnings/errors. Below here is detailed explaination what i did for perticular warnings/errors:
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
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.
In the setup_linux.py, replaced iteritems() with items()
Is it Okay to make these changes?? Or should i clone it again?
The text was updated successfully, but these errors were encountered:
Just after cloning, while initializing, got the multiple warnings/errors. Below here is detailed explaination what i did for perticular warnings/errors:
to resolve this: I used,
language_level = 3
earlier it waslanguage_level = None
in themaskApi.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.
Is it Okay to make these changes?? Or should i clone it again?
The text was updated successfully, but these errors were encountered: