CAPTAIN-WHU / DOTA_devkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polyiou.py error (NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VectorDouble'.)

Li-Chengyang opened this issue · comments

Anyone encounter this issue?

File "/home/zero/detection/polyiou/polyiou.py", line 130, in init
this = _polyiou.new_VectorDouble(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'new_VectorDouble'.
Possible C/C++ prototypes are:
std::vector< double >::vector()
std::vector< double >::vector(std::vector< double > const &)
std::vector< double >::vector(std::vector< double >::size_type)
std::vector< double >::vector(std::vector< double >::size_type,std::vector< double >::value_type const &)

solved.

Hello
I'm facing exactly same issue. Could you please help me with it.
I am trying to detect oriented object in Ariel images but the code is causing this problem.

TypeError: Wrong number or type of arguments for overloaded function 'new_VectorDouble'.
Possible C/C++ prototypes are:
std::vector< double >::vector()
std::vector< double >::vector(std::vector< double > const &)
std::vector< double >::vector(std::vector< double >::size_type)
std::vector< double >::vector(std::vector< double >::size_type,std::vector< double >::value_type const &)

solved.

how did you resolved this issue?
thank you

solved.

how did you resolved this issue? thank you

resolved.
Changed the type of vector being passed to float