Project-AgML / AgML

AgML is a centralized framework for agricultural machine learning. AgML provides access to public agricultural datasets for common agricultural deep learning tasks, with standard benchmarks and pretrained models, as well the ability to generate synthetic data and annotations.
Apache License 2.0
176 stars 28 forks source link

Dev #47

Closed dariojavo closed 1 year ago

dariojavo commented 1 year ago

1) Considerations to make the C++ code work with a vector in annotation_type 2) Changes in fruit labeling in C++ to make it work with individual walnut fruits.

amogh7joshi commented 1 year ago

Looks good! Will merge when the next set of updates are added.

dariojavo commented 1 year ago

Hi @amogh7joshi,

Please also consider a modification in Line 50:

annotation_types.push_back(line.substr(0, pos));

to:

this->annotation_types.push_back(line.substr(0, pos));

Otherwise, the pointer only keeps the last element pushed toannotation_types, thus the annotation is not perform for all the annotations types later.