recoilme commited on
Commit
5d81018
·
1 Parent(s): bcd912d
result_grid.jpg CHANGED

Git LFS Details

  • SHA256: 1f9387e866eaabc12d6a79e1a2842fc37a8fbbf2fd94e6863ae9bbfd35e393e9
  • Pointer size: 132 Bytes
  • Size of remote file: 8.04 MB

Git LFS Details

  • SHA256: 005e5ae9852b338a3afe6bc3d7a702c0756764247220e2f0a668f5006b5417a1
  • Pointer size: 132 Bytes
  • Size of remote file: 7.64 MB
src/cherrypick.ipynb CHANGED
@@ -1452,7 +1452,7 @@
1452
  "pipeid = \"AiArtLab/sdxs\"\n",
1453
  "variant = \"fp16\" if torch.cuda.is_available() else None\n",
1454
  "\n",
1455
- "unet = UNet2DConditionModel.from_pretrained(\"/workspace/sdxs\"#pipeid\n",
1456
  " , subfolder=\"unet\", variant=variant).to(device, dtype=dtype).eval()\n",
1457
  "vae = AutoencoderKL.from_pretrained(pipeid, subfolder=\"vae\", variant=variant).to(device, dtype=dtype).eval()\n",
1458
  "scheduler = DDPMScheduler.from_pretrained(pipeid, subfolder=\"scheduler\")\n",
@@ -1577,7 +1577,7 @@
1577
  " print(\"Images generated and saved to:\", output_folder)\n",
1578
  "\n",
1579
  "# Example usage\n",
1580
- "dataset_path = \"/workspace/sdxs/datasets/576\"\n",
1581
  "generate_and_save_images(dataset_path)\n"
1582
  ]
1583
  },
@@ -1606,7 +1606,7 @@
1606
  "name": "python",
1607
  "nbconvert_exporter": "python",
1608
  "pygments_lexer": "ipython3",
1609
- "version": "3.11.10"
1610
  }
1611
  },
1612
  "nbformat": 4,
 
1452
  "pipeid = \"AiArtLab/sdxs\"\n",
1453
  "variant = \"fp16\" if torch.cuda.is_available() else None\n",
1454
  "\n",
1455
+ "unet = UNet2DConditionModel.from_pretrained(\"/workspace/sdxs3d\"#pipeid\n",
1456
  " , subfolder=\"unet\", variant=variant).to(device, dtype=dtype).eval()\n",
1457
  "vae = AutoencoderKL.from_pretrained(pipeid, subfolder=\"vae\", variant=variant).to(device, dtype=dtype).eval()\n",
1458
  "scheduler = DDPMScheduler.from_pretrained(pipeid, subfolder=\"scheduler\")\n",
 
1577
  " print(\"Images generated and saved to:\", output_folder)\n",
1578
  "\n",
1579
  "# Example usage\n",
1580
+ "dataset_path = \"/workspace/sdxs3d/datasets/mjnj\"\n",
1581
  "generate_and_save_images(dataset_path)\n"
1582
  ]
1583
  },
 
1606
  "name": "python",
1607
  "nbconvert_exporter": "python",
1608
  "pygments_lexer": "ipython3",
1609
+ "version": "3.11.11"
1610
  }
1611
  },
1612
  "nbformat": 4,
src/sample.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
train.py CHANGED
@@ -28,9 +28,9 @@ from collections import deque
28
  # --------------------------- Параметры ---------------------------
29
  ds_path = "/workspace/sdxs3d/datasets/mjnj"
30
  project = "unet"
31
- batch_size = 128
32
- base_learning_rate = 8e-5
33
- min_learning_rate = 2e-5
34
  num_epochs = 50
35
  # samples/save per epoch
36
  sample_interval_share = 5
 
28
  # --------------------------- Параметры ---------------------------
29
  ds_path = "/workspace/sdxs3d/datasets/mjnj"
30
  project = "unet"
31
+ batch_size = 96
32
+ base_learning_rate = 6e-5
33
+ min_learning_rate = 9e-6
34
  num_epochs = 50
35
  # samples/save per epoch
36
  sample_interval_share = 5
unet/diffusion_pytorch_model.fp16.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:072a5932b339f1c98d492fe71c74a374de6c0e5480dab5f0c393aed03818b6e1
3
- size 3092571208
 
 
 
 
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:958b8d4d7c0c89ddd9977f61f3d17bb2dd5027b75c0d3669c30d55cf448d5c94
3
- size 6184944280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:072a5932b339f1c98d492fe71c74a374de6c0e5480dab5f0c393aed03818b6e1
3
+ size 3092571208