Repository navigation
Conversation
Contributor
|
Closing in favour of #2097 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #2094.
When a split submodel runs remotely, its seed archive includes the parent project's
opensfm/reference_lla.json, but notimage_list.txt. OpenSfM setup consequently runs again on the remote task. Previously it replaced the seeded reference with the submodel's own origin. This change preserves an existing reference and still writes one for a fresh georeferenced project.setup(rerun=True)removes the OpenSfM directory and writes a new reference as before. The parent task's--rerun,--rerun-from, and--rerun-alloptions are removed from submodel arguments; a newly seeded remote subtask does not inherit them.The regression tests exercise the real seed archive writer, extraction into a temporary remote project, and
OSFMContext.setup()with synthetic coordinates. They cover a seeded reference, a fresh project, an explicit setup rerun, and the submodel rerun arguments. On the original code the seeded case overwrites the parent coordinates; with this change it preserves them.Validation performed locally: all five tests in
tests/test_osfm.pypassed in a Python 3.14 test harness using real GDAL/PROJ coordinate transformation and filesystem operations. The harness stubs OpenSfM and other unrelated imports and supplies a Python 3.12 compatibility helper; it does not run the complete ODM pipeline or a remote cluster. On the unmodified baseline, the seeded-reference test failed and the other four passed. The full project test environment was not run locally.