From 59fab40c07b946fe7f7ddef5793bf4ac6d8d997b Mon Sep 17 00:00:00 2001 From: FantasticGu <1607876517@qq.com> Date: Wed, 30 Aug 2023 19:14:29 +0800 Subject: [PATCH] Update scripts --- code/scripts/train_all_supervised_cn.sh | 4 ++-- code/scripts/train_mvtec.sh | 6 +++--- code/scripts/train_visa.sh | 2 +- code/utils/__pycache__/__init__.cpython-38.pyc | Bin 144 -> 0 bytes code/utils/__pycache__/loss.cpython-38.pyc | Bin 3532 -> 0 bytes 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 code/utils/__pycache__/__init__.cpython-38.pyc delete mode 100644 code/utils/__pycache__/loss.cpython-38.pyc diff --git a/code/scripts/train_all_supervised_cn.sh b/code/scripts/train_all_supervised_cn.sh index 899e448..090410b 100644 --- a/code/scripts/train_all_supervised_cn.sh +++ b/code/scripts/train_all_supervised_cn.sh @@ -9,5 +9,5 @@ deepspeed --include localhost:0,1 --master_port 28412 train_all_supervised_cn.py --max_tgt_len 1024\ --data_path ../data/pandagpt4_visual_instruction_data.json\ --image_root_path ../data/images/\ - --save_path ./ckpt/train_cn7/\ - --log_path ./ckpt/train_cn7/log_rest/; \ No newline at end of file + --save_path ./ckpt/train_supervised/\ + --log_path ./ckpt/train_supervised/log_rest/; \ No newline at end of file diff --git a/code/scripts/train_mvtec.sh b/code/scripts/train_mvtec.sh index b72b83a..ddf1b46 100644 --- a/code/scripts/train_mvtec.sh +++ b/code/scripts/train_mvtec.sh @@ -8,6 +8,6 @@ deepspeed --include localhost:5,7 --master_port 28400 train_mvtec.py \ --delta_ckpt_path ../pretrained_ckpt/pandagpt_ckpt/7b/pytorch_model.pt\ --max_tgt_len 1024\ --data_path ../data/pandagpt4_visual_instruction_data.json\ - --image_root_path ../data/images\ - --save_path ./ckpt/train_mvtec!/\ - --log_path ./ckpt/train_mvtec!/log_rest/ + --image_root_path ../data/images/\ + --save_path ./ckpt/train_mvtec/\ + --log_path ./ckpt/train_mvtec/log_rest/ diff --git a/code/scripts/train_visa.sh b/code/scripts/train_visa.sh index 9713760..a831837 100644 --- a/code/scripts/train_visa.sh +++ b/code/scripts/train_visa.sh @@ -8,6 +8,6 @@ deepspeed --include localhost:0,1 --master_port 28412 train_visa.py \ --delta_ckpt_path ../pretrained_ckpt/pandagpt_ckpt/7b/pytorch_model.pt\ --max_tgt_len 1024\ --data_path ../data/pandagpt4_visual_instruction_data.json\ - --image_root_path ../data/images\ + --image_root_path ../data/images/\ --save_path ./ckpt/train_visa/\ --log_path ./ckpt/train_visa/log_rest/ diff --git a/code/utils/__pycache__/__init__.cpython-38.pyc b/code/utils/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index bf3dc3d0427d2e462884eb949d849600ad23f6f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmWIL<>g`k0)Cf`DIoeWh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6vMKP9mwQ9r%3 zDkCw!AT=*tKOiwLCDA<~L_aw{B{d!-re9i;nNzGEAD@|*SrQ+wS5SG2!zMRBr8Fni L4rJVCAZ7pn{k0&H diff --git a/code/utils/__pycache__/loss.cpython-38.pyc b/code/utils/__pycache__/loss.cpython-38.pyc deleted file mode 100644 index 1685c1322d0f037300c84afcd87ad406961206e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3532 zcmZuz&2t<_74P}lFRc_?R%H1jWC&E*>$0`7fdY)<7{@pqf^Zcgm0Chg&Cc}h&T78W z-K(z}T_RV7WBvdRyWDc*z>PcqLsxF0it-I^6qoROy(>#1^zOXwe%<}v>-X8eU0!Z6 zv^SppIsV%v#=fS>`Q~Es1fT2!#4NT_*0W4+_iWQUncH)%`I?uxHnUh(>(vd$P8(UX z*RAZwVMLt^re9VA`?u8`i160w1>Bv9!Yv%7`ZCTWv9scQD{a z6o_HwPKXwu(|imdxfIXReg=|r$o6zS9A;NFYFokB#TZa*#h-7J)fi|%W> zXQR#X(9qu*CDO+~^pmVidB$@Us-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