Remove deprecated training arguments (#36946)

* Remove deprecated training arguments

* More fixes

* More fixes

* More fixes
This commit is contained in:
cyyever
2025-03-27 00:44:48 +08:00
committed by GitHub
parent 44715225e3
commit 2b550c47b2
8 changed files with 15 additions and 108 deletions

View File

@@ -66,7 +66,7 @@ python run_instance_segmentation.py \
--dataloader_persistent_workers \
--dataloader_prefetch_factor 4 \
--do_eval \
--evaluation_strategy epoch \
--eval_strategy epoch \
--logging_strategy epoch \
--save_strategy epoch \
--save_total_limit 2 \

View File

@@ -56,7 +56,7 @@ python run_object_detection.py \
--greater_is_better true \
--load_best_model_at_end true \
--logging_strategy epoch \
--evaluation_strategy epoch \
--eval_strategy epoch \
--save_strategy epoch \
--save_total_limit 2 \
--push_to_hub true \

View File

@@ -667,7 +667,7 @@ class ExamplesTests(TestCasePlus):
--per_device_train_batch_size 2
--per_device_eval_batch_size 1
--do_eval
--evaluation_strategy epoch
--eval_strategy epoch
--seed 32
""".split()