Merge branch 'ai/refactor/resource-cleanup' into 'ai/develop'

Feat: 모델 학습 patience(얼리스톱) 제거

See merge request s11-s-project/S11P21S002!291
This commit is contained in:
김용수 2024-10-04 15:55:57 +09:00
commit dce2309f5b
3 changed files with 6 additions and 3 deletions

View File

@ -179,7 +179,8 @@ def run_train(request, model, dataset_root_path):
batch=request.batch, batch=request.batch,
lr0=request.lr0, lr0=request.lr0,
lrf=request.lrf, lrf=request.lrf,
optimizer=request.optimizer optimizer=request.optimizer,
patience=0
) )
finally: finally:
# 콜백 해제 및 자원 해제 # 콜백 해제 및 자원 해제

View File

@ -261,7 +261,8 @@ def run_train(request, model, dataset_root_path):
batch=request.batch, batch=request.batch,
lr0=request.lr0, lr0=request.lr0,
lrf=request.lrf, lrf=request.lrf,
optimizer=request.optimizer optimizer=request.optimizer,
patience=0
) )
finally: finally:
# 콜백 해제 및 자원 해제 # 콜백 해제 및 자원 해제

View File

@ -205,7 +205,8 @@ def run_train(request, model, dataset_root_path):
batch=request.batch, batch=request.batch,
lr0=request.lr0, lr0=request.lr0,
lrf=request.lrf, lrf=request.lrf,
optimizer=request.optimizer optimizer=request.optimizer,
patience=0
) )
finally: finally:
# 콜백 해제 및 자원 해제 # 콜백 해제 및 자원 해제