Added missing declarations for 'num_source', 'num_scales', 'add_posenet', 'add_dispnet' and 'add_flownet', which seems they must be declared before using them in newer Tensowflow versions.
Hi @zacr0 , thanks for your PR. While I think these arguments should be derived instead of being set from input. Otherwise it might cause potential inappropriate configurations.
Added missing declarations for 'num_source', 'num_scales', 'add_posenet', 'add_dispnet' and 'add_flownet', which seems they must be declared before using them in newer Tensowflow versions.
Source: https://github.com/tinghuiz/SfMLearner/pull/70