Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasticGNU committed Aug 30, 2023
1 parent 689dd85 commit 59fab40
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions code/scripts/train_all_supervised_cn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/;
--save_path ./ckpt/train_supervised/\
--log_path ./ckpt/train_supervised/log_rest/;
6 changes: 3 additions & 3 deletions code/scripts/train_mvtec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
2 changes: 1 addition & 1 deletion code/scripts/train_visa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Binary file removed code/utils/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file removed code/utils/__pycache__/loss.cpython-38.pyc
Binary file not shown.

0 comments on commit 59fab40

Please sign in to comment.