Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonjo97 committed Oct 16, 2023
1 parent e73d904 commit 1288266
Show file tree
Hide file tree
Showing 44 changed files with 653 additions and 829 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c391207ceb78a7f3f6c5a7daf308d100
config: 50b186beaede5bc0e46b0844d2d6c023
tags: 645f666f9bcd5a90fca523b33c5a78b7
22 changes: 11 additions & 11 deletions _sources/docs/experiments/swjo_exp.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ DreamBooth 를 실험하면서 대표적으로 instance prompt, guidance scale,

Prior Preservation Loss 를 제외한 동일한 configuration 으로 모델 학습한 결과입니다.

```python
```
# with prior-preservation loss
MODEL_NAME = “runwayml/stable-diffusion-v1-5”
instance_prompt = "A photo of sks girl"
class_prompt = "A photo of a girl"
!python3 train_dreambooth.py \
python3 train_dreambooth.py \
--pretrained_model_name_or_path=$MODEL_NAME \
--pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" \
--output_dir=$OUTPUT_DIR \
Expand All @@ -58,13 +58,13 @@ class_prompt = "A photo of a girl"
--concepts_list="concepts_list.json"
```

```python
```
# w/o prior-preservation loss
MODEL_NAME = “runwayml/stable-diffusion-v1-5”
instance_prompt = "A photo of sks girl"
class_prompt = "A photo of a girl"
!python3 train_dreambooth.py \
python3 train_dreambooth.py \
--pretrained_model_name_or_path=$MODEL_NAME \
--pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" \
--output_dir=$OUTPUT_DIR \
Expand Down Expand Up @@ -132,13 +132,13 @@ With Negative Prompt

DreamBooth 논문에서 제시한 instance prompt 외에 “A photo of a girl in the style of *sks*” 라는 prompt 로 학습을 시도해보기도 했습니다. *sks* 라는 unique identifier 에 특정 여자 캐릭터에 대한 정보뿐만 아니라 프리드로우 그림체 자체를 담아내기 위한 목적이였습니다.

```python
```
# different instance prompt with prior-preservation loss
****MODEL_NAME = “runwayml/stable-diffusion-v1-5
MODEL_NAME = “runwayml/stable-diffusion-v1-5”
instance_prompt = "A photo of a girl in the style of sks"
class_prompt = "A photo of a girl"
!python3 train_dreambooth.py \
python3 train_dreambooth.py \
--pretrained_model_name_or_path=$MODEL_NAME \
--pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" \
--output_dir=$OUTPUT_DIR \
Expand All @@ -162,13 +162,13 @@ class_prompt = "A photo of a girl"
--concepts_list="concepts_list.json"
```

```python
# different instance prompt w/o ****prior-preservation loss
****MODEL_NAME = “runwayml/stable-diffusion-v1-5
```
# different instance prompt w/o prior-preservation loss
MODEL_NAME = “runwayml/stable-diffusion-v1-5”
instance_prompt = "A photo of a girl in the style of sks"
class_prompt = "A photo of a girl"
!python3 train_dreambooth.py \
python3 train_dreambooth.py \
--pretrained_model_name_or_path=$MODEL_NAME \
--pretrained_vae_name_or_path="stabilityai/sd-vae-ft-mse" \
--output_dir=$OUTPUT_DIR \
Expand Down
2 changes: 1 addition & 1 deletion _sources/docs/review/SDXL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Paper: [https://arxiv.org/pdf/2307.01952.pdf](https://arxiv.org/pdf/2307.01952.pdf)
- Code: [https://github.com/Stability-AI/generative-models](https://github.com/Stability-AI/generative-models)
- **Author:** [Jun-Hyoung Lee](www.linkedin.com/in/jjuun0)
- **Author:** Jun-Hyoung Lee
- **Last updated on May. 31. 2023**
```
Expand Down
4 changes: 2 additions & 2 deletions _static/copybutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const messages = {
},
'fr' : {
'copy': 'Copier',
'copy_to_clipboard': 'Copier dans le presse-papier',
'copy_to_clipboard': 'Copié dans le presse-papier',
'copy_success': 'Copié !',
'copy_failure': 'Échec de la copie',
},
Expand Down Expand Up @@ -224,7 +224,7 @@ var copyTargetText = (trigger) => {
var target = document.querySelector(trigger.attributes['data-clipboard-target'].value);

// get filtered text
let exclude = '.linenos';
let exclude = '.linenos, .gp';

let text = filterText(target, exclude);
return formatCopyText(text, '', false, true, true, true, '', '')
Expand Down
2 changes: 1 addition & 1 deletion _static/scripts/bootstrap.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/scripts/bootstrap.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/scripts/pydata-sphinx-theme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _static/scripts/pydata-sphinx-theme.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/styles/bootstrap.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _static/styles/pydata-sphinx-theme.css

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions _static/vendor/fontawesome/6.1.2/js/all.min.js

This file was deleted.

5 changes: 0 additions & 5 deletions _static/vendor/fontawesome/6.1.2/js/all.min.js.LICENSE.txt

This file was deleted.

Loading

0 comments on commit 1288266

Please sign in to comment.