屏蔽/255,避免重复除以。

This commit is contained in:
zhanghuan
2025-09-11 17:49:37 +08:00
parent 06e440a6d1
commit e1cb936e32
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ VAL_DATA_DIR = os.path.join(DATASET_DIR, 'val')
TEST_DATA_DIR = os.path.join(DATASET_DIR, 'test')
# 模型保存路径
MODEL_DIR = os.path.join(BASE_DIR, 'model', '07')
MODEL_DIR = os.path.join(BASE_DIR, 'model', '09')
BEST_MODEL_PATH = os.path.join(MODEL_DIR, 'best_food_model.pth')
TRAINING_CURVES_PATH = os.path.join(MODEL_DIR, 'training_curves.png')
TRAINING_RESULTS_PATH = os.path.join(MODEL_DIR, 'training_results.txt')