-
Notifications
You must be signed in to change notification settings - Fork 626
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
Have you train and test on VOC? #85
Comments
@BlueBlueFF No. You can try it by yourself, but I think data augmentation is important on PASCAL VOC because the number of images is small. |
ok, I will try it and tell you the results. Thank you. |
@BlueBlueFF It will be very nice if you can post your results here. |
And recently i have tested fcos on other tasks such as face detection and i find when use a strong backbone (such as resnet-50), the fcos is better than anchor-based methods. But when use some very light backbones(such as mobilenet-v2 and cut some channels), the performance of fcos is bad than anchor-based methods. Have you encounter this problem?what do you think might be the reason? |
@BlueBlueFF I am not sure. But slightly tuning the hyper-parameters such as |
I tried to tune object_sizes_of_interest and other parameters and it doesn't work. QAQ. Hope a good performance on VOC. ^-^ |
@BlueBlueFF Feel free to post your results here if you have some questions. |
In my test, fcos get 66.2 map (backbone resnet18) and 74.8 map(backbone resnet50) in voc 2007 test. |
@BlueBlueFF I am not sure. But have you used data augmentation, which is crucial on PASCAL VOC? |
I used data augmentation like ssd. |
@BlueBlueFF How about the training settings such as batch size? |
BatchSize is 64, and I do some new test such as not frozen the first stage in resnet and get better result(in resnet18 is 72.0). |
@BlueBlueFF Great! If you like, you can pull request your code and models to our repository. I think it will be very useful to others. |
Actually my experiments are all based on mmdetection, but i would like to pull requeset the code and pretrained model to fcos( still something to do, such as code style, other resnet backbones.). |
@BlueBlueFF Thank you very much! |
@BlueBlueFF Could you shall the training config file? |
@BlueBlueFF can u share your code which train and test on VOCdataset? i am look forward train and test on VOCdataset.thank u~ |
@tianzhi0549 Hi I am not sure whether you have solved this issue. I just train a VOC dataset based on your current FCOS version. The results of R-50-FPN-1x are as follows:
According to Xinlei's baseline, VGG16(70.8, 75.7), ResNet101(75.7, 79.8) , the results are reasonable (between VGG16 and ResNet101). According to my past experience, FPN will not contribute a lot in VOC dataset. In addition, I do not think extensive data augmentation shall contribute a lot as in SSD. I just use the default horizontal flip to train the model. BTW, the most critical point is the learning rate. The default lr(1e-2) cannot well trained the model. And the AP_0.5 results of COCO-style evaluation are different with results reported by VOC-style, which is strange to me. |
@XiongweiWu Thank you very much for sharing your experience on PASCAL VOC here. |
@XiongweiWu What image size did you use for VOC dataset while training it with FCOS? |
|
你好,你能分享你在 VOCdataset 上训练和测试的代码吗?我现在正在复现,但是精度才60多。 |
For any one is trying to train this code on VOC(0712trainval+07test):
This may not be the best option, I set maxiter=67500 which is about 15 epochs for all images in the training set. |
你可以看看我的训练方式。 |
|
如果你用R50训练,直接替换掉configs/fcos/xxxR50.yaml最后的SOLVER就可以了。 |
|
No description provided.
The text was updated successfully, but these errors were encountered: