Commit ·
ccd5a59
1
Parent(s): 597cdce
Reallowing one image to be uploaded
Browse files
demo.py
CHANGED
|
@@ -25,7 +25,7 @@ import utils.export as export
|
|
| 25 |
|
| 26 |
def get_reconstructed_scene(outdir, model, device, silent, image_size, ios_mode, filelist):
|
| 27 |
|
| 28 |
-
assert len(filelist) == 2, "Please provide two images"
|
| 29 |
if ios_mode:
|
| 30 |
filelist = [f[0] for f in filelist]
|
| 31 |
if len(filelist) == 1:
|
|
|
|
| 25 |
|
| 26 |
def get_reconstructed_scene(outdir, model, device, silent, image_size, ios_mode, filelist):
|
| 27 |
|
| 28 |
+
assert len(filelist) == 1 or len(filelist) == 2, "Please provide one or two images"
|
| 29 |
if ios_mode:
|
| 30 |
filelist = [f[0] for f in filelist]
|
| 31 |
if len(filelist) == 1:
|