Classification
Bases: BaseModel
Use a foundation classification model to auto-label data.
Source code in autodistill/classification/classification_base_model.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
|
label(input_folder, extension='.jpg', output_folder=None)
¶
Label a dataset and save it in a classification folder structure.
Source code in autodistill/classification/classification_base_model.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
|
predict(input)
abstractmethod
¶
Run inference on the model.
Source code in autodistill/classification/classification_base_model.py
22 23 24 25 26 27 |
|