Giter Site home page Giter Site logo

Comments (7)

GuoleiSun avatar GuoleiSun commented on May 20, 2024 1

Hi all,

I can reproduce the results by setting show_score_threshold in the cfg.py to 0.001. Please do that before you run demo_rh.py.

Thanks

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

from r2cnn_faster-rcnn_tensorflow.

swz30 avatar swz30 commented on May 20, 2024

Thank you @yangxue0827,

When I run the demo_rh.py on the DOTA test images, it only provides me annotated images in the des_folder and tools/inference_results. Does not your code make text files in the format that I can submit to the DOTA evaluation server https://captain-whu.github.io/DOTA/tasks.html ?

from r2cnn_faster-rcnn_tensorflow.

yangxue0827 avatar yangxue0827 commented on May 20, 2024

results are in tools/txt_out. please read code carefully first. @swz30

from r2cnn_faster-rcnn_tensorflow.

GuoleiSun avatar GuoleiSun commented on May 20, 2024

@yangxue0827, thanks for your code. I followed what you said: using your pretrained model, test on dota test set and upload results to the server. For task1, I got following results:

mAP: 0.5031883538746729
ap of each class: plane:0.8045758220476723, baseball-diamond:0.6235978601971698, bridge:0.27558052246090115, ground-track-field:0.5051007521809955, small-vehicle:0.4260674259543338, large-vehicle:0.4180170480099051, ship:0.379523978169834, tennis-court:0.8042256307195812, basketball-court:0.6241976268091483, storage-tank:0.600279713052086, soccer-ball-field:0.4107538229795283, roundabout:0.44234079956583827, harbor:0.46493216568797485, swimming-pool:0.4108707385679589, helicopter:0.3577614017171661

As you can see, I only got 0.50, but you mentioned that we should got something around 0.575. What can be the reason?

from r2cnn_faster-rcnn_tensorflow.

GuoleiSun avatar GuoleiSun commented on May 20, 2024

Here: #13
You mentioned that your trained model (FasterRCNN_20180515_DOTA_v3: https://github.com/DetectionTeamUCAS/Models/tree/master/R2CNN_Faster-RCNN_Tensorflow) can reproduce map of 0.575

from r2cnn_faster-rcnn_tensorflow.

czzbb avatar czzbb commented on May 20, 2024

Helllo, how did u generate the annopath used in DOTA_devkit-master

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.