Spaces:
Running
on
Zero
Running
on
Zero
fix bug
Browse files
app.py
CHANGED
@@ -516,6 +516,8 @@ def sample_diff(ref_cond, target_cond, target_keypts, num_gen, seed, cfg):
|
|
516 |
print(f"z.device: {z.device}")
|
517 |
target_cond = target_cond.repeat(num_gen, 1, 1, 1).to(z.device)
|
518 |
ref_cond = ref_cond.repeat(num_gen, 1, 1, 1).to(z.device)
|
|
|
|
|
519 |
# novel view synthesis mode = off
|
520 |
nvs = torch.zeros(num_gen, dtype=torch.int, device=device)
|
521 |
z = torch.cat([z, z], 0)
|
|
|
516 |
print(f"z.device: {z.device}")
|
517 |
target_cond = target_cond.repeat(num_gen, 1, 1, 1).to(z.device)
|
518 |
ref_cond = ref_cond.repeat(num_gen, 1, 1, 1).to(z.device)
|
519 |
+
print(f"target_cond.max(): {target_cond.max()}, target_cond.min(): {target_cond.min()}")
|
520 |
+
print(f"ref_cond.max(): {ref_cond.max()}, ref_cond.min(): {ref_cond.min()}")
|
521 |
# novel view synthesis mode = off
|
522 |
nvs = torch.zeros(num_gen, dtype=torch.int, device=device)
|
523 |
z = torch.cat([z, z], 0)
|