SSD-Tensorflow icon indicating copy to clipboard operation
SSD-Tensorflow copied to clipboard

evaluation and accuracy

Open ylqi007 opened this issue 6 years ago • 7 comments

I have two questions about the evaluation, could anyone give me some hint and help, please?

  1. AP_VOC07 v.s. AP_VOC12 When I ran the eval_ssh_network.py, I got two results, AP_VOC07/mAP and AP_VOC12/mAP. But in the original paper and this repo, only one result is shown. Which kind of result is shown in the original paper and this repo, AP_VOC07/mAP or AP_VOC12/mAP?

  2. I didn't get the result like the author shown in this repo. When I finetuned on VOC07 train dataset based on ssd_300_vgg.ckpt, and evaluated on VOC07 test dataset, I got the result like bellow, and the AP_VOC07/mAP matches the result shown in the SSD paper, PASCAL_VOC_2007_20190301_Original_Losses_12000 But when I finetuned on VOC07+12 trainval dataset based on ssd_300_vgg.ckpt, and evaluated on VOC07 test dataset, I got the result like bellow, and the results, both AP_VOC07 and AP_VOC12, are different from the result (0.778) shown in this repo, PASCAL_VOC_0712_20190317_Original_17729

This is the result from this repo image

I am confusing now. Could anyone give me some hint and help?

Sincerely

ylqi007 avatar Mar 19 '19 18:03 ylqi007

Hello, I would like to know whether the code you used is balancap/ ssd-tensorflow. I also did the same repetition, but the effect was very poor and the mAP was very low.I would like to ask you, what changes have you made to the code?thank you @ylqi007

fuaiguo avatar Apr 01 '19 01:04 fuaiguo

@fuaiguo The code is from balancap/ssd-tensorflow. The training script is shown as below:

CHECKPOINT_PATH=./checkpoints/ssd_300_vgg.ckpt
DATASET_DIR=/tmp/tfrecords_pascal_2007
TRAIN_DIR=./logs/PASCAL_VOC_2007/

python3 train_ssd_network.py \
    --train_dir=${TRAIN_DIR} \
    --dataset_dir=${DATASET_DIR} \
    --dataset_name=pascalvoc_2007 \
    --num_classes=21 \
    --dataset_split_name=train \
    --model_name=ssd_300_vgg \
    --save_summaries_secs=60 \
    --save_interval_secs=600 \
    --checkpoint_path=${CHECKPOINT_PATH} \
    --optimizer=adam \
    --max_number_of_steps=7000 \
    --learning_rate=0.001 \
    --batch_size=32 \
    --match_threshold=0.5

ylqi007 avatar Apr 01 '19 01:04 ylqi007

By the way, have you modified the original code? I think there are some differences between the code and the paper. According to the original code, the effect is very poor.

fuaiguo avatar Apr 01 '19 03:04 fuaiguo

@fuaiguo No. I used the original code.

ylqi007 avatar Apr 02 '19 17:04 ylqi007

I also got a really low mAP AP_VOC07/mAP[1.7213194274951696e-05] AP_VOC12/mAP[1.1840413668554323e-05] Could anyone please help me with this!!!

lloydnguyen96 avatar Apr 05 '19 03:04 lloydnguyen96

I also got a really low mAP

Could anyone please help me with this!!!

angleflower avatar Apr 22 '19 02:04 angleflower

CHECKPOINT_PATH=./checkpoints/ssd_300_vgg.ckpt checkpoint_path=./checkpoints/vgg_16.ckpt This is the essence.

navy63 avatar Oct 17 '19 04:10 navy63