diff options
Diffstat (limited to 'train.cpp')
-rw-r--r-- | train.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ int predict(DataProvider &dp) { rank_CMC(D,L,cmc); } - if (vm.count("output") || !vm.count("validate")) + if (vm.count("output") && vm.count("predict")) for (int i=0; i<L.size();++i) *ot<<L[i]<<endl; } |