Skip to content

Commit d061102

Browse files
committed
更新训练脚本,调整批量大小和工作线程数以提高训练效率
1 parent cc1f28a commit d061102

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

py/train.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
RUN_NAME = "WellColumnClassification"
4747
IMG_SIZE = 224
4848
EPOCHS = 200
49-
BATCH_SIZE = 16
49+
BATCH_SIZE = 64
5050
DEVICE = 0
51-
WORKERS = 0
51+
WORKERS = 4
5252

5353

5454
def iter_class_dirs(root: Path) -> list[Path]:

0 commit comments

Comments
 (0)