Spaces:
Paused
Paused
bluestyle97
commited on
Commit
•
9538ed4
1
Parent(s):
26758ab
fix bug in input camera distance
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def make3d(images):
|
|
178 |
images = torch.from_numpy(images).permute(2, 0, 1).contiguous().float() # (3, 960, 640)
|
179 |
images = rearrange(images, 'c (n h) (m w) -> (n m) c h w', n=3, m=2) # (6, 3, 320, 320)
|
180 |
|
181 |
-
input_cameras = get_zero123plus_input_cameras(batch_size=1, radius=
|
182 |
render_cameras = get_render_cameras(batch_size=1, radius=2.5, is_flexicubes=IS_FLEXICUBES).to(device)
|
183 |
|
184 |
images = images.unsqueeze(0).to(device)
|
|
|
178 |
images = torch.from_numpy(images).permute(2, 0, 1).contiguous().float() # (3, 960, 640)
|
179 |
images = rearrange(images, 'c (n h) (m w) -> (n m) c h w', n=3, m=2) # (6, 3, 320, 320)
|
180 |
|
181 |
+
input_cameras = get_zero123plus_input_cameras(batch_size=1, radius=4.0).to(device)
|
182 |
render_cameras = get_render_cameras(batch_size=1, radius=2.5, is_flexicubes=IS_FLEXICUBES).to(device)
|
183 |
|
184 |
images = images.unsqueeze(0).to(device)
|