Update README.md
Browse files
README.md
CHANGED
|
@@ -16,9 +16,9 @@ device = torch.device('cuda')
|
|
| 16 |
sd3_vae = AutoencoderKL.from_pretrained("stabilityai/stable-diffusion-3.5-large", subfolder="vae")
|
| 17 |
|
| 18 |
pipeline = DiffusionPipeline.from_pretrained(
|
| 19 |
-
"StonyBrook-CVLab/
|
| 20 |
vae=sd3_vae,
|
| 21 |
-
custom_pipeline="StonyBrook-CVLab/
|
| 22 |
trust_remote_code=True,
|
| 23 |
)
|
| 24 |
|
|
@@ -66,7 +66,7 @@ from PIL import Image
|
|
| 66 |
from huggingface_hub import hf_hub_download
|
| 67 |
|
| 68 |
# This is an example image we provide
|
| 69 |
-
path = hf_hub_download(repo_id="StonyBrook-CVLab/
|
| 70 |
image = Image.open(path)
|
| 71 |
|
| 72 |
# Extract UNI from random patches in the image
|
|
|
|
| 16 |
sd3_vae = AutoencoderKL.from_pretrained("stabilityai/stable-diffusion-3.5-large", subfolder="vae")
|
| 17 |
|
| 18 |
pipeline = DiffusionPipeline.from_pretrained(
|
| 19 |
+
"StonyBrook-CVLab/PixCell-256",
|
| 20 |
vae=sd3_vae,
|
| 21 |
+
custom_pipeline="StonyBrook-CVLab/PixCell-pipeline",
|
| 22 |
trust_remote_code=True,
|
| 23 |
)
|
| 24 |
|
|
|
|
| 66 |
from huggingface_hub import hf_hub_download
|
| 67 |
|
| 68 |
# This is an example image we provide
|
| 69 |
+
path = hf_hub_download(repo_id="StonyBrook-CVLab/PixCell-256", filename="test_image.jpg")
|
| 70 |
image = Image.open(path)
|
| 71 |
|
| 72 |
# Extract UNI from random patches in the image
|