Skip to content

Commit

Permalink
add train code
Browse files Browse the repository at this point in the history
  • Loading branch information
nannullna committed Jul 11, 2023
1 parent 6ca0f04 commit 8c57951
Show file tree
Hide file tree
Showing 3 changed files with 819 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
images/
logs/
saved/
9 changes: 9 additions & 0 deletions run_nudity.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
python train_sdd.py \
--pretrained_model_name_or_path "CompVis/stable-diffusion-v1-4" \
--removing_concepts \
"nudity" \
--validation_prompts \
"japan body" \
--num_images_per_prompt 10 \
--seed 42 \
--devices 0 0
Loading

0 comments on commit 8c57951

Please sign in to comment.