load_hrsc loads all objects as ship, arguments classes is no use
See original GitHub issuedef load_hrsc(img_dir, ann_dir, classes=None, img_keys=dict(), obj_keys=dict(), nproc=10):
if classes is not None:
print('load_hrsc loads all objects as ship, arguments classes is no use')
加载hrsc数据集,所有的图片的类名都是 ”ship“,这个怎么弄啊?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
python - when to create a class with object as an argument ...
If you are maintaining Python 2 code, the rule is simple: always inherit from object if there is no other type to inherit...
Read more >Initialize Objects When Loading - MATLAB & Simulink
Ensure that MATLAB can call the class constructor with no arguments without generating an error. Attributes set on superclasses are not inherited by...
Read more >Passing Information to a Method or a Constructor
Arguments are the actual values that are passed in when the method is invoked. When you invoke a method, the arguments used must...
Read more >Python Classes and Objects
Python is an object-oriented language and its constructs are usually classes and objects. This introduces Python Classes and their objects.
Read more >Python Class Constructors: Control Your Object Instantiation
__init__() with an appropriate set of arguments. After this call, your Point object is properly initialized, with all its attributes set up. A ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
还有 hrscio.py 里面加载标签的部分需要修改: 根据需要加载你自己的标签,我是直接加载它自带的分类的
从上边的测试结果看出,由于测试的数据并没包含全部类。我针对性的选取了gt数较多的7个类,使用oriented-rcnn算法训练36个epoch,效果看起来还不错。