-
Notifications
You must be signed in to change notification settings - Fork 1.2k
24.04 #1904
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
24.04 #1904
Conversation
|
We should change the following to point away from my personal account before merging this PR. Should I open PRs to each of these repos? If so, should I target them to the main branch, or something else?
For python dependencies, I've used |
Yes, this pull request isn't ready to merge as-is, but wanted to bundle this as such because it gives us some nominal testing of build by default as well as a place to track changes and discussion.
Each of these either needs the ODM specific mods upstreamed where appropriate (e.g. Entwine / Untwine) as Piero indicated or for where that isn't appropriate (e.g. OpenSfM / mvs-texturing), then it needs accompanied by pull requests against OpenDroneMap's forks. It is also appropriate to keep this scoped to only pull requests against OpenDroneMap's forks, with an eye to upstreaming as a next step.
Not sure. Since we discourage use outside a container, this might be ok. Although until we have an ODM repo maintainer recruited, that's a change I wouldn't endorse without someone more knowledgeable weighing in on the implications. Were you unable to get it to build without? |
I was unable to get it to build without this flag. This is related to how newer versions of Python prefer to relate to system-installed files. https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3 |
|
I just attempted to open a PR to the ODM fork of PDAL, but was rejected with this message: Any guidance on how I can contribute? |
I will be offline until Monday, but will check back in then. Just to verify: you did the pull request from your fork of a PDAL repo? I added classic branch protection rules to the relevant repos (either to main or master) in the meantime. Hopefully this resolves it. Otherwise I'll dive in Monday. |
Thanks! I originally created a PR from PDAL/PDAL (which does not work), but have now successfully created a PR from NathanMOlson/PDAL. I'm not sure I understand the branching strategy for all these repos, a pointer to documentation or a brief description of the nominal workflow for making changes would be helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re: 9806d91: This pattern is an option when there are only a few minor changes. We use the upstream repository and apply a patch.
This seems like an improvement to me, because I can bump the upstream version, or apply changes to it, without having to send PRs to multiple repos. When the changes are simple, it also seems easier to see exactly what has changed.
I don't think this is a good pattern when the changes are large, like OpenSfM or mvs-texturing.
I agree this is a good approach when the changes are small. |
|
@smathermather Do you have a preferred pattern for PRs to the ODM repos that fork outside projects? My preference would be to have a For this effort, I think it would make most sense to create the If we go this way, I think the workflow for each repo would be:
This will need to happen for entwine, OpenSfm, mvs-texturing, and draco. This is just one approach and I'm happy to do something different. @smathermather Let me know if there's a different approach I should take. If we follow my approach, the first two steps in each repo are on you :) |
…y v1.26. Now they are built using the venv. fix missing packages. Now making an orthophoto
@NathanMOlson No change when removing WebODM and nuking the AppData\Python folder, so the issue isn't path pollution (yay!) But, it must be something else. Perhaps OPENCV of the current release doesn't actually have the |
|
It seems this error might stem from mixed python2/python3 runtimes? |
In the docker build, The same version of OpenCV is built for Windows, so I don't think this is an OpenCV problem. |
|
As windows build and python isolation isn't a new problem, we don't have to get that resolved in this pull request. It's already better from a Windows build perspective, and hopefully what Sam proposes in #1936 can get us 100%. Thermal testing is done, according to Brett. So now just waiting on some multispectral testing. We have a mapir dataset and some DJI data. Will loop back soon on that. |
|
We've got a good multispectral dataset now, so diving into testing today. 🤞 |
|
Multispectral works. So unless anyone has any objections to merging, speak now, etc.. I'll try to get this into main / build process this week. Edit: retraction. Multispectral will require troubleshooting. More as I know it. |
|
21.04 Multispectral log
|
|
If I had to guess, this is the warning pointing us in the direction of the issue (line 727 of 24.04 multispectral log): |
in multispectral.py https://scikit-image.org/docs/0.23.x/release_notes/release_0.20.html |
|
The problem is in
Still trying to figure out how to get the matrix from the returned |
I just committed an attempt to use the new CODEM API, but I'm not sure this will work. @smathermather if you've got a live environment to test in, you may be able to figure out the magic incantation quicker than me (if this guess is incorrect). Another option to fix the error is to roll CODEM back to v0.25.0, but I'd rather stick with the new version and figure out the magic incantation. :) |
|
Actually it looks like |
|
Excellent. Building and will test. |
|
Here's the commit message I would like to apply to this branch before merge: Changes to support building on Ubuntu 24.04 and windows-2022 Github runner. Update Python to 3.12 (This requires installing dependencies in virtual environment, and running python scripts from the virtual environment) |
Done. As we've minimized API changes, I think we can release as 3.6.0, but I would like to hear if there are any protests first. |
|
@smathermather what's the route to getting this into |
|
Good question. We have mild conflicts, but nothing too bad. A simple pull request against master should do it, which is what I should have done from go. |
* Changes to support building on Ubuntu 24.04 and windows-2022 Github runner.
* Update Python to 3.12
* Install dependencies in virtual environment
* Run python scripts from the virtual environment)
* Update dependencies
* Ubuntu dependencies in snap/snapcraft24.yaml
* Python dependencies in requirements.txt
* Windows dependencies built in OpenDroneMap/windows-deps repo
* Update CUDA
* 12.8.1 on Windows
* 13.0.0 on Ubuntu)
* Run tests as part of docker build
* Use exact commits to specify dependencies that are built from source, instead of branch names
* Use upstream versions of Libraries:
* PDAL
* PDAL-Python
* untwine
* ExifRead
* draco
* Build windows builds with -j2
* Use Micasense's latest version of dls.py
* Update failing unit tests to match current behavior
Co-authored-by: Stephen Mather <[email protected]>



No description provided.