Skip to content

Commit

Permalink
Update ctm_inference.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
koichi-saito-sony authored Aug 29, 2024
1 parent 6ccd44d commit c2593b8
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions ctm_inference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,5 @@ python ctm_inference.py \
--ema_model "/path/to/checkpoints/soundctm_ckpt/030000/ema_0.999_030000.pt" \
--test_file "/path/to/audiocaps/test.csv" \
--sampler 'determinisitc' --sampling_gamma 0. --omega 3.5 \
--num_steps 1 --nu 1. --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
--num_steps 2 --nu 1. --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
--output_dir "/path/to/output_dir/"

# python ctm_inference.py \
# --text_encoder_name "google/flan-t5-large" \
# --ctm_unet_model_config "configs/diffusion_model_config.json" \
# --training_args '/path/to/checkpoints/soundctm_ckpt/030000/summary.jsonl' \
# --model "/path/to/checkpoints/soundctm_ckpt/030000/pytorch_model.bin" \
# --ema_model "/path/to/checkpoints/soundctm_ckpt/030000/ema_0.999_030000.pt" \
# --test_file "/path/to/audiocaps/test.csv" \
# --sampler 'determinisitc' --sampling_gamma 0. --omega 3.5 \
# --num_steps 2 --nu 1. --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
# --output_dir "/path/to/output_dir/"

# python ctm_inference.py \
# --text_encoder_name "google/flan-t5-large" \
# --ctm_unet_model_config "configs/diffusion_model_config.json" \
# --training_args '/path/to/checkpoints/soundctm_ckpt/030000/summary.jsonl' \
# --model "/path/to/checkpoints/soundctm_ckpt/030000/pytorch_model.bin" \
# --ema_model "/path/to/checkpoints/soundctm_ckpt/030000/ema_0.999_030000.pt" \
# --test_file "/path/to/audiocaps/test.csv" \
# --sampler 'determinisitc' --sampling_gamma 0. --omega 3.5 \
# --num_steps 4 --nu 1. --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
# --output_dir "/path/to/output_dir/"

# python ctm_inference.py \
# --text_encoder_name "google/flan-t5-large" \
# --ctm_unet_model_config "configs/diffusion_model_config.json" \
# --training_args '/path/to/checkpoints/soundctm_ckpt/030000/summary.jsonl' \
# --model "/path/to/checkpoints/soundctm_ckpt/030000/pytorch_model.bin" \
# --ema_model "/path/to/checkpoints/soundctm_ckpt/030000/ema_0.999_030000.pt" \
# --test_file "/path/to/audiocaps/test.csv" \
# --sampler 'determinisitc' --sampling_gamma 0. --omega 3.5 \
# --num_steps 8 --nu 1.5 --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
# --output_dir "/path/to/output_dir/"

# python ctm_inference.py \
# --text_encoder_name "google/flan-t5-large" \
# --ctm_unet_model_config "configs/diffusion_model_config.json" \
# --training_args '/path/to/checkpoints/soundctm_ckpt/030000/summary.jsonl' \
# --model "/path/to/checkpoints/soundctm_ckpt/030000/pytorch_model.bin" \
# --ema_model "/path/to/checkpoints/soundctm_ckpt/030000/ema_0.999_030000.pt" \
# --test_file "/path/to/audiocaps/test.csv" \
# --sampler 'determinisitc' --sampling_gamma 0. --omega 3.5 \
# --num_steps 16 --nu 2.0 --num_samples 1 --batch_size 1 --test_references '/path/to/audiocaps/test' \
# --output_dir "/path/to/output_dir/"

0 comments on commit c2593b8

Please sign in to comment.