Comments (16)
It looks like your ResultMerge_multi_process.py
has some issues. You may need to debug the code. For example, did you generate the result_dota
folder before you call dsets.merge_crop_image_results(result_path, merge_path)
in eval.py
? You can use online server https://captain-whu.github.io/DOTA/evaluation.html
to calculate AP dota. The hrsc dataset is calculated by ap = dsets.dec_evaluation(result_path)
in eval.py
.
from bbavectors-oriented-object-detection.
Thank you very much.Before I call dsets.merge_crop_image_results(result_path, merge_path) in eval.py,It has genrate the result_dota folder
from bbavectors-oriented-object-detection.
Does the result_dota
contain the right files? like Task1_baseball-diamond.txt files contain
P0045__0.5__0___500 0.683183252811 446.0 444.2 465.2 560.3 348.0 578.1 328.8 461.9
P0045__0.5__0___500 0.636462032795 407.4 252.5 429.9 360.8 315.2 383.2 292.8 274.9
P0045__0.5__0___500 0.531519293785 592.8 219.0 615.2 325.4 516.1 345.5 493.7 239.1
P0045__0.5__0___500 0.160389885306 593.1 411.4 614.1 517.1 547.6 532.2 526.6 426.5
P0045__0.5__0___803 0.659127235413 445.5 139.0 467.2 246.9 355.6 267.6 333.9 159.7
P0045__0.5__0___803 0.542766690254 348.1 382.6 370.6 490.0 255.8 513.1 233.3 405.8
from bbavectors-oriented-object-detection.
yes ,it have
from bbavectors-oriented-object-detection.
Sorry I have no idea. You may need to debug to see what makes the index out of range.
from bbavectors-oriented-object-detection.
When I evaluate the model by phase eva , a error is occured.Could you help me to solve it ?
And I want to ask you how to calculate the ap or map?
Thank you,Best wish
我也遇到这个问题了,请问您解决了吗?
from bbavectors-oriented-object-detection.
By debugging I found the error causes in DOTA_devkit.ResultMerge_multi_process:line 199-202
but to utilize debugging better, I recommend using ResultMerge
instead of ResultMerge_multi_process
in datasets.dataset_dota:line 5
In my case I convert HRSC2016 format to dota format, and results from HRSC2016 as following:
100000849 0.318158239126 53.9 147.5 100.6 211.7 29.2 238.1 -17.4 173.9
100001347 0.189944535494 6.5 336.8 38.7 353.3 18.7 414.5 -13.6 398.0
But in dota, it will use filename to get metadata, like ratio=0.5 x=0 y=500 from P0045__0.5__0___803 0.542766690254 348.1 382.6 370.6 490.0 255.8 513.1 233.3 405.8
so when module re
find nothing from my file name, it will cause list index out of range
by x_y_2 = re.findall(r'\d+', x_y[0])...
from bbavectors-oriented-object-detection.
By debugging I found the error causes in
DOTA_devkit.ResultMerge_multi_process:line 199-202
but to utilize debugging better, I recommend usingResultMerge
instead ofResultMerge_multi_process
indatasets.dataset_dota:line 5
In my case I convert HRSC2016 format to dota format, and results from HRSC2016 as following:100000849 0.318158239126 53.9 147.5 100.6 211.7 29.2 238.1 -17.4 173.9 100001347 0.189944535494 6.5 336.8 38.7 353.3 18.7 414.5 -13.6 398.0
But in dota, it will use filename to get metadata, like ratio=0.5 x=0 y=500 from
P0045__0.5__0___803 0.542766690254 348.1 382.6 370.6 490.0 255.8 513.1 233.3 405.8
so when modulere
find nothing from my file name, it will causelist index out of range
byx_y_2 = re.findall(r'\d+', x_y[0])...
I see. So it looks like if the data is not arranged in the right way (e.g. merge format), it will raise exceptions. Thanks @igo312
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
from bbavectors-oriented-object-detection.
Does the
result_dota
contain the right files? like Task1_baseball-diamond.txt files containP0045__0.5__0___500 0.683183252811 446.0 444.2 465.2 560.3 348.0 578.1 328.8 461.9 P0045__0.5__0___500 0.636462032795 407.4 252.5 429.9 360.8 315.2 383.2 292.8 274.9 P0045__0.5__0___500 0.531519293785 592.8 219.0 615.2 325.4 516.1 345.5 493.7 239.1 P0045__0.5__0___500 0.160389885306 593.1 411.4 614.1 517.1 547.6 532.2 526.6 426.5 P0045__0.5__0___803 0.659127235413 445.5 139.0 467.2 246.9 355.6 267.6 333.9 159.7 P0045__0.5__0___803 0.542766690254 348.1 382.6 370.6 490.0 255.8 513.1 233.3 405.8
When I execute the eval code, the result_dota file is empty. Is there a problem with my storage path?
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
Yes, the dota test set is also split.
from bbavectors-oriented-object-detection.
Does the
result_dota
contain the right files? like Task1_baseball-diamond.txt files containP0045__0.5__0___500 0.683183252811 446.0 444.2 465.2 560.3 348.0 578.1 328.8 461.9 P0045__0.5__0___500 0.636462032795 407.4 252.5 429.9 360.8 315.2 383.2 292.8 274.9 P0045__0.5__0___500 0.531519293785 592.8 219.0 615.2 325.4 516.1 345.5 493.7 239.1 P0045__0.5__0___500 0.160389885306 593.1 411.4 614.1 517.1 547.6 532.2 526.6 426.5 P0045__0.5__0___803 0.659127235413 445.5 139.0 467.2 246.9 355.6 267.6 333.9 159.7 P0045__0.5__0___803 0.542766690254 348.1 382.6 370.6 490.0 255.8 513.1 233.3 405.8
When I execute the eval code, the result_dota file is empty. Is there a problem with my storage path?
If you are testing dota, make sure your test set is split as the trainval set.
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
Yes, the dota test set is also split.
您好,我用了ROI Transformer的源码分割了DOTA数据集,但是我没有得到您论文里说的那么多张图片。我最后复现的结果map只有69.7%左右,不知道和图片分割有没有关系。
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
Yes, the dota test set is also split.
您好,我用了ROI Transformer的源码分割了DOTA数据集,但是我没有得到您论文里说的那么多张图片。我最后复现的结果map只有69.7%左右,不知道和图片分割有没有关系。
你好,请问你是分割成608*608大小的图片吗
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
Yes, the dota test set is also split.
您好,我用了ROI Transformer的源码分割了DOTA数据集,但是我没有得到您论文里说的那么多张图片。我最后复现的结果map只有69.7%左右,不知道和图片分割有没有关系。
你好,请问你是分割成608*608大小的图片吗
可能不是,我没有改代码直接分割的,作者的意思是要分割成608*608大小的图片吗
from bbavectors-oriented-object-detection.
I want to ask if the pictures of test set also be split
Yes, the dota test set is also split.
您好,我用了ROI Transformer的源码分割了DOTA数据集,但是我没有得到您论文里说的那么多张图片。我最后复现的结果map只有69.7%左右,不知道和图片分割有没有关系。
In particular, the images are cropped into 600×600 patches with a stride of 100. The input images have two scales 0.5 and 1
.
from bbavectors-oriented-object-detection.
Related Issues (20)
- 关于HRSC数据集的最好结果 HOT 2
- TypeError: 'int' object is not iterable HOT 2
- IndexError: list index out of range in Eval phase when file names have different format
- 测试和评估阶段问题 HOT 1
- 怎么生成trainval.txt和test.txt? HOT 1
- how to train my custom dataset is in coco json format? HOT 2
- ModuleNotFoundError: No module named 'dota_kit' HOT 3
- down ratio and coordination order HOT 1
- ModuleNotFoundError: No module named 'dota_kit' HOT 1
- Question about wrong implementation in decode_prediction()
- KeyError: 'container-crane' HOT 5
- dota的map只有63 HOT 2
- when turn resnet101 to resnet18 and resnet34 in ctrbox_net.py(line13), got problem!! HOT 2
- 可以展示一下数据集的结构嘛,也就是datasets的目录结构
- dota上loss多少可以认为已经收敛? HOT 1
- 对比试验 HOT 1
- 环境搭建
- 测试fps
- Inquiry Regarding Download of the Dataset Used in the Paper [Object-Guided Instance Segmentation With Auxiliary Feature Refinement for Biological Images]
- 请问7×7卷积在哪里 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bbavectors-oriented-object-detection.