-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d6acc7
commit 7a1c833
Showing
2 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
task: object_detection | ||
base_model: facebook/detr-resnet-50 | ||
project_name: autotrain-obj-det-local-dataset | ||
log: tensorboard | ||
backend: local | ||
|
||
data: | ||
path: data/ # this contains the train and validation folders | ||
train_split: train # this is the folder name inside the data path, contains images and metadata.jsonl | ||
valid_split: validation # this is the folder name inside the data path, contains images and metadata.jsonl, optional | ||
column_mapping: | ||
image_column: image | ||
objects_column: objects | ||
|
||
params: | ||
image_square_size: 600 | ||
epochs: 100 | ||
batch_size: 8 | ||
lr: 5e-5 | ||
weight_decay: 1e-4 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
early_stopping_patience: 50 | ||
early_stopping_threshold: 0.001 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters