Parameters for depthmap generation
()
| 34 | return default |
| 35 | |
| 36 | def gather_ops(): |
| 37 | """Parameters for depthmap generation""" |
| 38 | ops = {} |
| 39 | for s in ['boost_rmax', 'precision', 'no_half', 'marigold_ensembles', 'marigold_steps']: |
| 40 | c = get_opt('depthmap_script_' + s, None) |
| 41 | if c is None: |
| 42 | c = get_cmd_opt(s, None) |
| 43 | if c is not None: |
| 44 | ops[s] = c |
| 45 | # sanitize for integers. |
| 46 | for s in ['marigold_ensembles', 'marigold_steps']: |
| 47 | if s in ops: |
| 48 | ops[s] = int(ops[s]) |
| 49 | return ops |
| 50 | |
| 51 | |
| 52 | def get_outpath(): |
nothing calls this directly
no test coverage detected