j96w / DenseFusion

"DenseFusion: 6D Object Pose Estimation by Iterative Dense Fusion" code repository
https://sites.google.com/view/densefusion
MIT License
1.1k stars 300 forks source link

Why the test set is bigger than train set in LineMod? #75

Closed TrinhNC closed 5 years ago

TrinhNC commented 5 years ago

When checking the train.txt and test.txt in Linemod preprocessed dataset I notice that the test set (around 1200 samples per object) in LineMod is much bigger than the train set (aroung 200 samples per object).

My understanding is that it should be the other way around, right?

hygxy commented 5 years ago

But the test dataset is only choosen one out of ten, see this line, so the network is given more train data than test data, it's an expected behavior.

As why the author made the test dataset larger than the train dataset, I have the same question.

flowtcw commented 5 years ago

The protocol defined by YOLO6D and BB8, they use 15% of data for training and the rest 85% for evaluation. You can understand this as a default operation.

TrinhNC commented 5 years ago

It is stated in BB8: "Training images are selected such that the associated object poses have a minimum angular distance of 15◦. Doing so selects ≈ 15% of the images for training"