Open anmspro opened 4 years ago
Same here. pycococreatortools
is 2 levels above shapes
and it seems it has not been installed properly.
Edit: My bad. On the root folder run
Swtich to root folder and then "pip install .". Never use setup.py install.python setup.py install
to install packages. It works now.
@colt18 I have done as you said. Then imported the module as import pycococreatortools
. But I still getting a error:
AttributeError: module 'pycococreatortools' has no attribute 'create_image_info'
Do you have any suggestions?
Solved: used from pycococreatortools import pycococreatortools
.
I have installed using this:
But still I got this error. Whole code:
I still don't know if the code works or not. Please help!