training-checkpoint.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. image_finetune: false
  2. output_dir: "outputs"
  3. pretrained_model_path: "models/StableDiffusion/stable-diffusion-v1-5"
  4. unet_additional_kwargs:
  5. use_motion_module : true
  6. motion_module_resolutions : [ 1,2,4,8 ]
  7. unet_use_cross_frame_attention : false
  8. unet_use_temporal_attention : false
  9. motion_module_type: Vanilla
  10. motion_module_kwargs:
  11. num_attention_heads : 8
  12. num_transformer_block : 1
  13. attention_block_types : [ "Temporal_Self", "Temporal_Self" ]
  14. temporal_position_encoding : true
  15. temporal_position_encoding_max_len : 32
  16. temporal_attention_dim_div : 1
  17. zero_initialize : true
  18. noise_scheduler_kwargs:
  19. num_train_timesteps: 1000
  20. beta_start: 0.00085
  21. beta_end: 0.012
  22. beta_schedule: "linear"
  23. steps_offset: 1
  24. clip_sample: false
  25. train_data:
  26. csv_path: "/root/autodl-tmp/zoom_in_24.csv"
  27. video_folder: "/root/autodl-tmp/data"
  28. sample_size: 256
  29. sample_stride: 4
  30. sample_n_frames: 16
  31. validation_data:
  32. prompts:
  33. - "Snow rocky mountains peaks canyon. Snow blanketed rocky mountains surround and shadow deep canyons."
  34. - "A drone view of celebration with Christma tree and fireworks, starry sky - background."
  35. - "Robot dancing in times square."
  36. - "Pacific coast, carmel by the sea ocean and waves."
  37. num_inference_steps: 25
  38. guidance_scale: 8.
  39. trainable_modules:
  40. - "motion_modules."
  41. unet_checkpoint_path: "/root/autodl-tmp/mm_sd_v15_v2.ckpt"
  42. learning_rate: 1.e-4
  43. train_batch_size: 1
  44. max_train_epoch: 1000
  45. max_train_steps: 50000
  46. checkpointing_epochs: 10
  47. checkpointing_steps: 60
  48. validation_steps: 5000
  49. validation_steps_tuple: [2, 50]
  50. global_seed: 42
  51. mixed_precision_training: true
  52. enable_xformers_memory_efficient_attention: True
  53. is_debug: False