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

ReDet with Dota 1 multiscale OBB - only able to achieve 79.2% so far #163

Open
ManuelM95 opened this issue May 24, 2022 · 5 comments
Open

Comments

@ManuelM95
Copy link

Hello,

thanks for the code. I'm trying to archive the 80.1% mAP on the Dota 1 dataset. I noticed when comparing the logs - that I got a different maximum amount of iterations compared to you - 5848 compared to 8650.

I just used the prepare_dota1_v2.py script creating 101611 images in trainval and 52460 images in test. Is that correct or did I miss something? I'm also training on 4 GPU's with imgs_per_gpu = 2.

Any other ideas where I could have lost the 0.9% mAP - the only thing I changed was the THREADS_PER_BLOCK in riroi_align_kernel.cu from 1024 to 512.

@csuhan
Copy link
Owner

csuhan commented May 25, 2022

Maybe we use empty images for training. I'm not sure. Try to change the difficult key to difficult=-1.

dstpath, 'trainval1024_ms', 'DOTA_trainval1024_ms.json'), wordname_15, difficult='2')

The multiscale result is not very stable since we use random rotation augmentation.

@ManuelM95
Copy link
Author

Thanks for the fast reply. I will try that and report back.

@ManuelM95
Copy link
Author

With difficult = -1 the amount of images goes down(from 101611 to 69018) and thus also the maximum amount of iterations goes down to 4135. I also get a lower mAP in the end.

I also want to train on custom data and wanted to use --validate with distributed training but it doesn't seem to be supported? Then the easiest way to check the results is just parsing the results.pkl data to .json and use cocoeval with the json annotations of the test data?

@csuhan
Copy link
Owner

csuhan commented Jun 2, 2022

Our code does not support online validation: --validate.
You can convert your data to DOTA's txt format, then you can train and test your model as DOTA.

@LeiaJ520
Copy link

Hello,

thanks for the code. I'm trying to archive the 80.1% mAP on the Dota 1 dataset. I noticed when comparing the logs - that I got a different maximum amount of iterations compared to you - 5848 compared to 8650.

I just used the prepare_dota1_v2.py script creating 101611 images in trainval and 52460 images in test. Is that correct or did I miss something? I'm also training on 4 GPU's with imgs_per_gpu = 2.

Any other ideas where I could have lost the 0.9% mAP - the only thing I changed was the THREADS_PER_BLOCK in riroi_align_kernel.cu from 1024 to 512

你好,想问一下使用DOTA 数据集进行训练的时候是将train和val放在了一起,最后想得到评价指标是用的trainval.json还是test.json

是运行的python tools/test.py .......--eval bbox ?

Hello,

thanks for the code. I'm trying to archive the 80.1% mAP on the Dota 1 dataset. I noticed when comparing the logs - that I got a different maximum amount of iterations compared to you - 5848 compared to 8650.

I just used the prepare_dota1_v2.py script creating 101611 images in trainval and 52460 images in test. Is that correct or did I miss something? I'm also training on 4 GPU's with imgs_per_gpu = 2.

Any other ideas where I could have lost the 0.9% mAP - the only thing I changed was the THREADS_PER_BLOCK in riroi_align_kernel.cu from 1024 to 512.

Hello, I would like to ask whether train and val are put together when using DOTA data set for training. Finally, I want to know whether trainval.json or test.json is used as the evaluation indicator
It is the python tools/test run py .......--eval bbox ?

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

3 participants