open-mmlab / mmrotate

OpenMMLab Rotated Object Detection Toolbox and Benchmark
https://mmrotate.readthedocs.io/en/latest/
Apache License 2.0
1.88k stars 558 forks source link

[Docs] 想问问关于注册机制的问题 #1042

Open lzJune opened 4 months ago

lzJune commented 4 months ago

Branch

master branch https://mmrotate.readthedocs.io/en/latest/

📚 The doc issue

在看源码时,我有一个问题,比如AnchorGenerator类,给了配置和参数,我理解是对AnchorGenerator类进行实例化,也就是执行了init函数,那类里面还有一些其他的函数,从这个config中如何看出何时该执行哪一种具体函数呢? anchor_generator=dict( type='AnchorGenerator', scales=[8], ratios=[0.5, 1.0, 2.0], strides=[4, 8, 16, 32, 64])

Suggest a potential alternative/fix

No response