Spaces:
Paused
Paused
add log
Browse files
src/multiview_consist_edit/infer_tryon_multi.py
CHANGED
|
@@ -131,7 +131,7 @@ def main():
|
|
| 131 |
|
| 132 |
image_idx = 0
|
| 133 |
for i, batch in enumerate(test_dataloader):
|
| 134 |
-
|
| 135 |
pixel_values = batch["pixel_values"]
|
| 136 |
pixel_values_pose = batch["pixel_values_pose"].to(device='cuda')
|
| 137 |
pixel_values_agnostic = batch["pixel_values_agnostic"].to(device='cuda')
|
|
@@ -147,7 +147,7 @@ def main():
|
|
| 147 |
multi_length = pixel_values.shape[1]
|
| 148 |
# dino_fea = dino_fea.unsqueeze(1)
|
| 149 |
# print(dino_fea.shape) # [bs,1,768]
|
| 150 |
-
print(img_name)
|
| 151 |
edited_images = pipe(
|
| 152 |
num_inference_steps=num_inference_steps,
|
| 153 |
guidance_scale=guidance_scale,
|
|
|
|
| 131 |
|
| 132 |
image_idx = 0
|
| 133 |
for i, batch in enumerate(test_dataloader):
|
| 134 |
+
print(f'Processing batch {i+1}/{len(test_dataloader)}')
|
| 135 |
pixel_values = batch["pixel_values"]
|
| 136 |
pixel_values_pose = batch["pixel_values_pose"].to(device='cuda')
|
| 137 |
pixel_values_agnostic = batch["pixel_values_agnostic"].to(device='cuda')
|
|
|
|
| 147 |
multi_length = pixel_values.shape[1]
|
| 148 |
# dino_fea = dino_fea.unsqueeze(1)
|
| 149 |
# print(dino_fea.shape) # [bs,1,768]
|
| 150 |
+
# print(img_name)
|
| 151 |
edited_images = pipe(
|
| 152 |
num_inference_steps=num_inference_steps,
|
| 153 |
guidance_scale=guidance_scale,
|