Closed jpainam closed 3 years ago
@jpainam
opt.views=2
is used for training and testing CVUSA dataset, which only has satellite view and street view. If you want to train and test University-1652 using two views, you can set opt.views=3
and change the loss weight of street view to 0 when training. During testing, you can employ 3->1
to test the performance of Drone -> Satellite
. The code can be seen https://github.com/layumi/University1652-Baseline/blob/master/train_no_street.py
Thanks testing the task 3 -> 1
i.e. Drone -> Satellite
gives me this result
Recall@1:61.51 Recall@5:81.48 Recall@10:86.79 Recall@top1:87.40 AP:66.02
Which is close to the one you reported in the paper. closing the issue
Hi. I trained using the tutorial readme with this command.
python train.py --gpu_ids 0,2 --name ft_ResNet50 --train_all --batchsize 32 --data_dir /home/xx/datasets/University-Release/train
And this is the generated yamlSo, for testing, i do this
python test.py --gpu_ids 0 --name ft_ResNet50 --test_dir /home/xx/datasets/University-Release/test --batchsize 32 --which_epoch 119
I found out that, theviews=2
and theview_index=3
in theextract_feature
function. Using this codeThe task is
3 -> 1
meansDrone -> Satellite
withviews=2
. But the code in the testing, doesn't consider this scenarioFor
views == 2
, there is noviews_index == 3