mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
[bin] meshroom_batch: remove redundant --scale argument
This commit is contained in:
parent
ef73d769f6
commit
a4e8e189e6
1 changed files with 0 additions and 10 deletions
|
@ -50,11 +50,6 @@ parser.add_argument('--save', metavar='FILE', type=str, required=False,
|
|||
parser.add_argument('--compute', metavar='<yes/no>', type=lambda x: bool(distutils.util.strtobool(x)), default=True, required=False,
|
||||
help='You can set it to <no/false/0> to disable the computation.')
|
||||
|
||||
parser.add_argument('--scale', type=int, default=-1,
|
||||
choices=[-1, 1, 2, 4, 8, 16],
|
||||
help='Downscale factor override for DepthMap estimation. '
|
||||
'By default (-1): use pipeline default value.')
|
||||
|
||||
parser.add_argument('--toNode', metavar='NODE', type=str, nargs='*',
|
||||
default=None,
|
||||
help='Process the node(s) with its dependencies.')
|
||||
|
@ -190,11 +185,6 @@ with multiview.GraphModification(graph):
|
|||
raise ValueError('Invalid param override: ' + str(p))
|
||||
print("\n")
|
||||
|
||||
# setup DepthMap downscaling
|
||||
if args.scale > 0:
|
||||
for node in graph.nodesOfType('DepthMap'):
|
||||
node.downscale.value = args.scale
|
||||
|
||||
# setup cache directory
|
||||
graph.cacheDir = args.cache if args.cache else meshroom.core.defaultCacheFolder
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue