Something went wrong on our end
training.md 1.05 KiB
Training workflow
There are a several steps to follow when training a DAN model.
1. Extract data
The data must be extracted and formatted for training. To extract the data, DAN uses an Arkindex export database in SQLite format. You will need to:
- Structure the data into folders (
train
/val
/test
) in Arkindex. - Export the project in SQLite format.
- Extract the data with the extract command.
At the end, you should have a tree structure like this:
output/
├── charset.pkl
├── labels.json
├── images
│ ├── train
│ ├── val
│ └── test
2. Train
To train a DAN model, please refer to the documentation of the training command.
3. Predict
Once the training is complete, you can apply a trained DAN model on an image using the predict command and the inference_parameters.yml
file, located in {training.output_folder}/results
.