Closed Lg955 closed 3 years ago
This is not a bug.
Notice we will generate two types of annotation:
generate_json_labels
, which is only used in s2anet
:
https://github.com/csuhan/s2anet/blob/dce96b7aeee170a44a7a2518ec9d684377da287a/DOTA_devkit/prepare_dota1_ms.py#L67-L68DOTA2COCO
is from DOTA_devkit
:
https://github.com/csuhan/s2anet/blob/dce96b7aeee170a44a7a2518ec9d684377da287a/DOTA_devkit/prepare_dota1_ms.py#L72-L73By default, we use generate_json_labels
, see our config:
https://github.com/csuhan/s2anet/blob/dce96b7aeee170a44a7a2518ec9d684377da287a/configs/dota/s2anet_r50_fpn_1x.py#L116-L120
In this type of config, the file name
field is:
https://github.com/csuhan/s2anet/blob/dce96b7aeee170a44a7a2518ec9d684377da287a/DOTA_devkit/DOTA2JSON.py#L74
Thanks! I make it!
I want to use the 79.42mAP model, but it only works in the old version. So I download the old one which need the .json annotation instead of .pkl . (If use the new version without Cascade, should I download the
S2A-Net | DOTA | R-50-FPN | - | - | 1x | 74.04 | cfg model -- | -- | -- | -- | -- | -- | -- | -- , right?) But when I load the json( generated from `/DOTA_devkit/prepare_dota1_ms.py` ), I found a error: `Traceback (most recent call last): File "demo/demo_inference.py", line 92, in