Skip to content
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(marking-detection): custom yolo model w/ 4 bands #383

Merged
merged 47 commits into from
Mar 6, 2024

Conversation

matthiasschaub
Copy link
Collaborator

No description provided.

matthiasschaub and others added 30 commits January 30, 2024 14:16
… params

There was a problem sending layer "ESRI:World_Imagery".
Expected layername in python:  esri-world-imagery
Before fix:  esri-world_imagery
…Switcher Control

now it's possible to use an EventListener to get notified when the baselayer is switched with:
layerSwitcher.on("change:activeLayer", handleLayerSwitch)

This will be used to update the hidden form field with the layer information.
May also be used to update the location.href in the browser bar to create a bookmarkable URL with a layer state.
Avoid following error related to transforming Tensor object to numpy
array during marking detection:

TypeError: can't convert cuda:0 device type tensor to numpy. Use
Tensor.cpu() to copy the tensor to host memory first.
@matthiasschaub matthiasschaub marked this pull request as draft March 4, 2024 08:43
@matthiasschaub matthiasschaub marked this pull request as ready for review March 6, 2024 14:28
@matthiasschaub matthiasschaub changed the title Multibandsuppport feat(marking-detection): custom yolo model w/ 4 bands Mar 6, 2024
config/sample.config.toml Outdated Show resolved Hide resolved
sketch_map_tool/routes.py Outdated Show resolved Hide resolved
sketch_map_tool/routes.py Outdated Show resolved Hide resolved
sketch_map_tool/tasks.py Outdated Show resolved Hide resolved
@matthiasschaub matthiasschaub merged commit 29f7e38 into main Mar 6, 2024
1 check passed
@matthiasschaub matthiasschaub deleted the multibandsuppport branch March 6, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants