-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Auto rerun-from #1720
Feat: Auto rerun-from #1720
Conversation
Happy to test split-merge. Other than bombing out granularity for other flags, anything I should be looking for with split? |
Nothing too specific, test the happy path cases (local split, remote split), try changing some parameters, see if the rerun selection behaves the way you would expect it to if you were to choose rerun-from by hand. |
Sounds good. Local split is running. It's been blissfully long since I've had a project that needed split. Sanity check on my command: Edit: Something's wrong:
This seems fine, but nothing is happening on the ClusterODM node ( |
I don't know if @pierotofy already included this validation, but one should only compare the current flag settings with the previous ones for the same project, please filter by project. Unhappy path in question if not filtering by project: EDIT: Does this feature have persistence? Is it saved on database/disk? |
Still not sure what's happening here, need to rerun and monitor for uploading to cluster which doesn't appear to be happening, but now running with sm-cluster set through webodm, and that's working fine. |
Not sure either, this PR has not modified the sm_cluster logic. Can you post the task output? |
Will do after tests are complete. |
Retraction, the above command is working fine. Should be done with testing this morning for distributed split-merge. Just to verify: I don't think I can test yet in WebODM, correct? There's no way to re-run without setting a stage for rerun. |
Correct, WebODM will require some modification. |
Ah, the brittlness of split-merge. Still waiting for a successful completion. Should have chosen a smaller dataset. Hopefully something today. |
Circling back, this was a dataset that required a geo.txt but I forgot to include that, so split couldn't happen based on image tags. Now running a different (smaller) dataset anyway. |
First command: Second command run in sequence (no rerun triggered, addition of orthophoto flag ignored): Third command run in sequence (rerun gets triggered): |
Mm, typically one would need to rerun the entire pipeline This gets a bit tricky, I think most parameters in split-merge need to re-trigger the I'm starting to think that split-merge, as an advanced feature, might just need to continue having the manual A good question is: what are the cases when changing a parameter and using split-merge should not result in the entire pipeline to be re-run from the beginning? (Most parameters will require a rerun) |
As currently implemented, split-merge is an expert only tool, so I don't necessarily mind if it stays as-is, although defaulting to rerunning for most parameter changes would be preferable. If I do the split-merge re-write, I'll need help thinking through how it interacts with this pull request, though I probably won't have bandwidth for the at rewrite until I get the org through the first end of year reporting. |
I'll change it so that if any parameter is modified and |
Sounds good. |
I was on the forum and I saw this post that mentioned this PR. |
Implements auto-rerun logic. 💥
E.g.
./run.sh /datasets/brighton
[process completes]./run.sh /datasets/brighton --orthophoto-resolution 2
(change resolution)rerun-from: odm_orthophoto
If
rerun-from
,rerun-all
orrerun
is set, the flag is respected instead (does not automatically attempt to choose the rerun stage).Please help test this, especially with split-merge and distributed split-merge? 🙏
#1718 #1719