Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mAP of 0.47 on DOTA validation set #17

Closed
swz30 opened this issue Sep 5, 2018 · 8 comments
Closed

mAP of 0.47 on DOTA validation set #17

swz30 opened this issue Sep 5, 2018 · 8 comments

Comments

@swz30
Copy link

swz30 commented Sep 5, 2018

Using the provided pre-trained R2CNN and config files, I am getting 0.47 mAP on validation set of DOTA. is it correct?

@yangxue0827
Copy link
Member

The mAP of the provided model weights is around 57.3.

@yangxue0827
Copy link
Member

make sure which model weights you used, pre-trained (just for training) or trained model (after training).
please download trained model by this project, put it to output/trained_weights. @swz30

@swz30
Copy link
Author

swz30 commented Sep 5, 2018

Hi @yangxue0827
Thank you for the response.

I did use your trained model and put it in the same folder which you mentioned. But I am only able to get 0.47 mAP on the DOTA validation set.

Here I am listing the steps that I performed:

  1. By using val_crop.py, I cropped the DOTA validation set into 800x800 overlapping images and also obtained the corresponding xml annotation files.

  2. Then I ran the following command:
    python eval.py --img_dir='PATH TO DOTA CROPPED VALIDATION IMAGES'
    --image_ext='.png'
    --test_annotation_path='PATH TO XML ANNOTATION FILES OF VALIDATION IMAGES'
    --gpu='0'

The eval.py scripts provides me the mAP for both horizontal and rotated bounding boxes almost the same (i.e. 0.47) on the validation set. Am I missing something?

Also, the 3rd step of data preparation, you recommended to put the data in Pascal VOC format. But then why don't we use that tree in the evaluation, is that step redundant?

thank you.

@yangxue0827
Copy link
Member

step val_crop.py is not required. @swz30

@yangxue0827
Copy link
Member

python demo_rh.py --src_folder='/PATH/TO/DOTA/IMAGES_ORIGINAL/' --image_ext='.png' --des_folder='/PATH/TO/SAVE/RESULTS/' --save_res=False --gpu='0'

then commit the results files in tools/txt_out/@swz30

@swz30

@ssynkqtd
Copy link

The mAP of the provided model weights is around 57.3.

Which model can achieve the mAP of 68.01 in Task1 - Oriented Leaderboard and 72.80 in Task2 - Horizontal Leaderboard.

@yangxue0827
Copy link
Member

Sorry, my improvement method is preparing for submission, so the code will not be open source for the time being. @ssynkqtd

@heping0228
Copy link

heping0228 commented Nov 9, 2018

@swz30 I use the trained=weights provided by the author and I get the mAP is 39%,I also crop the val set,do you know the reason. @yangxue0827

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants