Skip to content

Commit

Permalink
Merge pull request #125 from bit-bots/feature/better_cfg_generator
Browse files Browse the repository at this point in the history
Better cfg customization for custom datasets
  • Loading branch information
Flova authored Dec 3, 2024
2 parents d0393c1 + 4501066 commit 6a3ce22
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 797 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ checkpoints/
logs/

.python-version

*.onnx
*.pth
**/tuning_records.json
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ You can adjust the log directory using `--logdir <path>` when running `tensorboa
#### Classes
Add class names to `data/custom/yoeo_names.yaml`.

Run the following command to adapt the model file (cfg) to the new number of classes:

```bash
poetry run yoeo-custiomize-cfg -c config/yoeo.cfg -d config/custom.data -o config/yoeo-custom.cfg
```

This changes the layers of the model to fit the number of classes in your dataset.

#### Image Folder
Move the images of your dataset to `data/custom/images/`.

Expand Down
Loading

0 comments on commit 6a3ce22

Please sign in to comment.