[hdri] workaround for HDRI pipeline on tractor

This commit is contained in:
Fabien Castan 2019-12-13 19:36:22 +01:00
parent d92e7613eb
commit a1c9802450
2 changed files with 16 additions and 1 deletions

View file

@ -135,7 +135,9 @@ def hdriPipeline(graph):
imagePairsList=imageMatching.output) imagePairsList=imageMatching.output)
panoramaExternalInfo = graph.addNewNode('PanoramaExternalInfo', panoramaExternalInfo = graph.addNewNode('PanoramaExternalInfo',
input=ldr2hdr.outSfMDataFilename) input=ldr2hdr.outSfMDataFilename,
matchesFolders=[featureMatching.output] # Workaround for tractor submission with a fake dependency
)
panoramaEstimation = graph.addNewNode('PanoramaEstimation', panoramaEstimation = graph.addNewNode('PanoramaEstimation',
input=panoramaExternalInfo.outSfMDataFilename, input=panoramaExternalInfo.outSfMDataFilename,

View file

@ -25,6 +25,19 @@ class PanoramaExternalInfo(desc.CommandLineNode):
value='', value='',
uid=[0], uid=[0],
), ),
desc.ListAttribute(
elementDesc=desc.File(
name='matchesFolder',
label='Matches Folder',
description="",
value='',
uid=[0],
),
name='matchesFolders',
label='Matches Folders',
description="Folder(s) in which computed matches are stored. (WORKAROUND for valid Tractor graph submission)",
group='forDependencyOnly',
),
desc.ChoiceParam( desc.ChoiceParam(
name='verboseLevel', name='verboseLevel',
label='Verbose Level', label='Verbose Level',