Skip to content

Commit

Permalink
update train test generate
Browse files Browse the repository at this point in the history
  • Loading branch information
LinghaoChan committed Nov 18, 2024
1 parent 34bd8ff commit d2343d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
python -m scripts.generate --input_text ./assets/prompts.txt \
--motion_length 8 \
--self_attention \
--no_eff \
--opt_path ./checkpoints/t2m/release/opt.txt \
--edit_mode
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python -m scripts.evaluation --opt_path ./checkpoints/t2m/release/opt.txt --self_attention --no_eff
1 change: 1 addition & 0 deletions train.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
accelerate --mixed_precision "no" launch --config_file 1gpu.yaml --gpu_ids 0 -m scripts.train --name release --model-ema --dataset_name t2m --dropout 0.1 --lr 1e-4 --no_eff --self_attention --edit_mode

0 comments on commit d2343d0

Please sign in to comment.