ashnair1 / dotadevkit

Toolkit for working with the DOTA aerial object detection dataset

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import _polyiou ModuleNotFoundError: No module named ‘_polyiou‘

MFalam opened this issue · comments

I have a big problem and already tried many ways to find a solution for this error, but it still remains in my codes.
I am trying to reimplement the " BBAVectors-Oriented-Object-Detection" and firstly used "DOTA_devkit" but always facing
"import _polyiou ModuleNotFoundError: No module named ‘_polyiou‘"
Then I switched to "dotadevkit" but still I have the same issue. The "dotadevkit" works fine for the other tasks.

BBA-1

I use Python 3.6.6 on Ubuntu.

I wish to receive a suggestion to solve this problem.

You need to import polyiou from dotadevkit

>>> from dotadevkit import polyiou
>>> polyiou
<module 'dotadevkit.polyiou' from '/home/ashwin/anaconda3/lib/python3.7/site-packages/dotadevkit/polyiou/__init__.py'>

You need to import polyiou from dotadevkit

>>> from dotadevkit import polyiou
>>> polyiou
<module 'dotadevkit.polyiou' from '/home/ashwin/anaconda3/lib/python3.7/site-packages/dotadevkit/polyiou/__init__.py'>

Many thanks for this point.

I face another issue with the dotadevkit.
attributeerror: module 'dotadevkit.polyiou' has no attribute 'VectorDouble'

BBA-3

May please suggest a solution.

Sorry you need to import it like this for getting access to the methods

from dotadevkit.polyiou import polyiou

It looks like you're using both the original DOTA_Devkit and this repo (dotadevkit). This is not necessary. Another user previously wanted to use this dotadevkit with the BBAVectors repo. You can view that issue here.

It looks like you're using both the original DOTA_Devkit and this repo (dotadevkit). This is not necessary. Another user previously wanted to use this dotadevkit with the BBAVectors repo. You can view that issue here.

Many thanks for the help.