2511
Browse files- samples/unet_320x640_0.jpg +2 -2
- samples/unet_384x640_0.jpg +2 -2
- samples/unet_448x640_0.jpg +2 -2
- samples/unet_512x640_0.jpg +2 -2
- samples/unet_576x640_0.jpg +2 -2
- samples/unet_640x320_0.jpg +2 -2
- samples/unet_640x384_0.jpg +2 -2
- samples/unet_640x448_0.jpg +2 -2
- samples/unet_640x512_0.jpg +2 -2
- samples/unet_640x576_0.jpg +2 -2
- samples/unet_640x640_0.jpg +2 -2
- src/TRAIN.md +3 -0
- train.py +4 -4
- unet/diffusion_pytorch_model.safetensors +1 -1
samples/unet_320x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_384x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_448x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_512x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_576x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x320_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x384_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x448_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x512_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x576_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
samples/unet_640x640_0.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
src/TRAIN.md
CHANGED
|
@@ -14,6 +14,9 @@ git config --global credential.helper store
|
|
| 14 |
|
| 15 |
```
|
| 16 |
python -m pip install --upgrade pip
|
|
|
|
|
|
|
|
|
|
| 17 |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130 -U # change
|
| 18 |
pip install flash-attn --no-build-isolation # optional
|
| 19 |
```
|
|
|
|
| 14 |
|
| 15 |
```
|
| 16 |
python -m pip install --upgrade pip
|
| 17 |
+
# ls /etc/alternatives/cuda -l
|
| 18 |
+
# apt-get install cuda-13-0
|
| 19 |
+
# update-alternatives --config cuda
|
| 20 |
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu130 -U # change
|
| 21 |
pip install flash-attn --no-build-isolation # optional
|
| 22 |
```
|
train.py
CHANGED
|
@@ -29,11 +29,11 @@ from collections import deque
|
|
| 29 |
ds_path = "/workspace/sdxs/datasets/640"
|
| 30 |
project = "unet"
|
| 31 |
batch_size = 48
|
| 32 |
-
base_learning_rate =
|
| 33 |
-
min_learning_rate =
|
| 34 |
-
num_epochs =
|
| 35 |
# samples/save per epoch
|
| 36 |
-
sample_interval_share =
|
| 37 |
use_wandb = True
|
| 38 |
use_comet_ml = False
|
| 39 |
save_model = True
|
|
|
|
| 29 |
ds_path = "/workspace/sdxs/datasets/640"
|
| 30 |
project = "unet"
|
| 31 |
batch_size = 48
|
| 32 |
+
base_learning_rate = 5e-5
|
| 33 |
+
min_learning_rate = 2e-5
|
| 34 |
+
num_epochs = 50
|
| 35 |
# samples/save per epoch
|
| 36 |
+
sample_interval_share = 5
|
| 37 |
use_wandb = True
|
| 38 |
use_comet_ml = False
|
| 39 |
save_model = True
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 6184944280
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cbd20924d2216f6684289e74e4f7c68284378737fc3b992b9addb5cbb2354e7
|
| 3 |
size 6184944280
|