From 07c5d9f73aa17211265eb8c6d3e921f6f5d2ad82 Mon Sep 17 00:00:00 2001 From: ThuanNaN Date: Sun, 12 Jan 2025 18:00:12 +0700 Subject: [PATCH] update base cfg --- minigpt4/configs/datasets/mvtec/default.yaml | 4 ++-- train_configs/minigptv2_finetune_mvtec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/minigpt4/configs/datasets/mvtec/default.yaml b/minigpt4/configs/datasets/mvtec/default.yaml index de8878a..2fbb16b 100755 --- a/minigpt4/configs/datasets/mvtec/default.yaml +++ b/minigpt4/configs/datasets/mvtec/default.yaml @@ -2,5 +2,5 @@ datasets: mvtec_ad: data_type: images build_info: - image_path: /mnt/Repository/MiniGPT-4/MVTEC_det/images - ann_path: /mnt/Repository/MiniGPT-4/MVTEC_det/mvtech_ad_data_for_regression.json + image_path: ./MVTEC_det/images + ann_path: ./MVTEC_det/mvtech_ad_data_for_regression.json diff --git a/train_configs/minigptv2_finetune_mvtec.yaml b/train_configs/minigptv2_finetune_mvtec.yaml index 6ae8ba0..83cab0c 100644 --- a/train_configs/minigptv2_finetune_mvtec.yaml +++ b/train_configs/minigptv2_finetune_mvtec.yaml @@ -32,7 +32,7 @@ run: warmup_lr: 1e-6 weight_decay: 0.05 - max_epoch: 50 + max_epoch: 10 num_workers: 6 warmup_steps: 1000 iters_per_epoch: 1000