JiantaoLin
commited on
Commit
·
8c14434
1
Parent(s):
fd1d806
new
Browse files- pipeline/utils.py +1 -1
pipeline/utils.py
CHANGED
@@ -55,7 +55,7 @@ def lrm_reconstruct(model, infer_config, images,
|
|
55 |
else:
|
56 |
raise NotImplementedError(f'Unexpected input camera type: {input_camera_type}')
|
57 |
|
58 |
-
images = v2.functional.resize(images,
|
59 |
|
60 |
logger.info(f"==> Runing LRM reconstruction ...")
|
61 |
planes = model.forward_planes(images, input_cameras)
|
|
|
55 |
else:
|
56 |
raise NotImplementedError(f'Unexpected input camera type: {input_camera_type}')
|
57 |
|
58 |
+
images = v2.functional.resize(images, 320, interpolation=3, antialias=True).clamp(0, 1)
|
59 |
|
60 |
logger.info(f"==> Runing LRM reconstruction ...")
|
61 |
planes = model.forward_planes(images, input_cameras)
|