Commit 1978c25b4e4595b440ea902bf95266d93e1736b8
1 parent
cabe132e
Removed unused train parameter
Showing
1 changed file
with
0 additions
and
5 deletions
openbr/core/core.cpp
| ... | ... | @@ -56,11 +56,6 @@ struct AlgorithmCore |
| 56 | 56 | |
| 57 | 57 | TemplateList data(TemplateList::fromGallery(input)); |
| 58 | 58 | |
| 59 | - // set the Train bool metadata, in case a Transform's project | |
| 60 | - // needs to know if it's called during train or enroll | |
| 61 | - for (int i=0; i<data.size(); i++) | |
| 62 | - data[i].file.set("Train", true); | |
| 63 | - | |
| 64 | 59 | if (transform.isNull()) qFatal("Null transform."); |
| 65 | 60 | qDebug("%d Training Files", data.size()); |
| 66 | 61 | ... | ... |