Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
LinFusion_pytorch
Commits
ef978b2a
Commit
ef978b2a
authored
Oct 28, 2024
by
luopl
Browse files
Update train.sh
parent
dc3b93c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
examples/train/train.sh
examples/train/train.sh
+11
-1
No files found.
examples/train/train.sh
View file @
ef978b2a
python
-m
src.train.distill
\
--pretrained_model_name_or_path
=
"stabilityai/stable-diffusion-2-1"
\
--mixed_precision
=
"bf16"
\
--resolution
=
768
\
--train_batch_size
=
6
\
--gradient_accumulation_steps
=
2
\
--dataloader_num_workers
=
6
\
--learning_rate
=
1e-04
\
--weight_decay
=
0.
\
--output_dir
=
"ckpt/linfusion_sd2p1"
\
--save_steps
=
10000
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment