Giter Site home page Giter Site logo

Comments (8)

yangxue0827 avatar yangxue0827 commented on May 20, 2024

The mAP of the provided model weights is around 57.3.

from r2cnn_faster-rcnn_tensorflow.

yangxue0827 avatar yangxue0827 commented on May 20, 2024

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

from r2cnn_faster-rcnn_tensorflow.

swz30 avatar swz30 commented on May 20, 2024

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.

from r2cnn_faster-rcnn_tensorflow.

yangxue0827 avatar yangxue0827 commented on May 20, 2024

step val_crop.py is not required. @swz30

from r2cnn_faster-rcnn_tensorflow.

yangxue0827 avatar yangxue0827 commented on May 20, 2024

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

from r2cnn_faster-rcnn_tensorflow.

ssynkqtd avatar ssynkqtd commented on May 20, 2024

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.

from r2cnn_faster-rcnn_tensorflow.

yangxue0827 avatar yangxue0827 commented on May 20, 2024

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

from r2cnn_faster-rcnn_tensorflow.

heping0228 avatar heping0228 commented on May 20, 2024

@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

from r2cnn_faster-rcnn_tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.