Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add examples text to image #304

Merged
merged 10 commits into from
Jan 13, 2024
Merged

add examples text to image #304

merged 10 commits into from
Jan 13, 2024

Conversation

slin000111
Copy link
Contributor

Support Stable Diffusion text-to-image fine-tuning and Stable Diffusion XL text-to-image fine-tuning.

  1. train text_to_image
  2. train text_to_image_lora
  3. train text_to_image_sdxl
  4. train text_to_image_lora_sdxl


model_path = snapshot_download('AI-ModelScope/stable-diffusion-v1-5')

unet_model_path = '/mnt/workspace/swift/examples/pytorch/sdxl/train_text_to_image/unet'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

@slin000111 slin000111 closed this Jan 12, 2024
@slin000111 slin000111 reopened this Jan 12, 2024
@tastelikefeet tastelikefeet merged commit 163bbdd into modelscope:main Jan 13, 2024
3 of 4 checks passed
tastelikefeet added a commit to tastelikefeet/swift that referenced this pull request Jan 19, 2024
* commit '4f6007e12597e14e619548c1eef1346a9792a7f7': (22 commits)
  fix freeze parameters bug (modelscope#325)
  Add courses (modelscope#324)
  fix ui bugs (modelscope#322)
  fix vllm env bug (modelscope#321)
  Support internlm2 (modelscope#320)
  Fix cogagent image loading (modelscope#318)
  update yuan-janus-2b-instruct sh (modelscope#317)
  Fix hf compatibility and support yuan (modelscope#316)
  add examples text to image (modelscope#304)
  Update deepseek moe (modelscope#314)
  fix share (modelscope#313)
  Fix modules to save (modelscope#312)
  Fix the saving behaviour of modules without state dict (modelscope#309)
  Fix link (modelscope#307)
  Update docs (modelscope#308)
  Fix bugs (modelscope#305)
  fix csv nan bug (modelscope#306)
  fix_ziya_template_bug (modelscope#303)
  fix a bug may cause module on gpu throws error (modelscope#302)
  fix text label (modelscope#301)
  ...
tastelikefeet added a commit that referenced this pull request Jan 22, 2024
* commit '15e21ec577eb98af3c8e4177303ff6efe1aa8a2c': (25 commits)
  Fix ui (#335)
  Support xverse-13b-256k (#332)
  Feat/update course 0120 (#331)
  fix doc (#330)
  Update doc (#329)
  fix lazy load (#328)
  Fix video tag (#327)
  Add video of web-ui (#326)
  fix freeze parameters bug (#325)
  Add courses (#324)
  fix ui bugs (#322)
  fix vllm env bug (#321)
  Support internlm2 (#320)
  Fix cogagent image loading (#318)
  update yuan-janus-2b-instruct sh (#317)
  Fix hf compatibility and support yuan (#316)
  add examples text to image (#304)
  Update deepseek moe (#314)
  fix share (#313)
  Fix modules to save (#312)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants