539 questions
Advice
1
vote
1
replies
16
views
Do Apache 2.0 licensed segmentation models (e.g., SegNeXt, PP‑LiteSeg) include commercial‑free pretrained weights?
I’m evaluating semantic segmentation models like SegNeXt and PP‑LiteSeg, which are released under the Apache 2.0 license. The code is clearly permissive, but I’m unsure about the pretrained weights.
...
0
votes
0
answers
59
views
Keras to_categorical results in different memory allocation error every re-run
I'm working on a semantic segmentation model through U-net for classifying 11 categories. After splitting my image and label data into training and testing arrays, I turn the arrays into Unsigned ...
0
votes
1
answer
143
views
Preventing GPU memory leak due to a custom neural network layer
I am using the MixStyle methodology for domain adaptation, and it involves using a custom layer that is inserted after every encoder stage. However, it is causing VRAM to grow linearly, which causes ...
0
votes
1
answer
72
views
Problem in fine tuning DeepLabV3Plus using keras_cv for Semantic Segmentation
I'm using open-images-v7 dataset (accessing via fiftyone lib) and keras_cv lib to fine tune DeepLabV3Plus with mobilenet_v3_small backbone, but the accuracy doesn't improve with epochs at all, and I'm ...
2
votes
2
answers
286
views
Cleaning up scanned book page edges with OpenCV
I have several scanned book images that I'm trying to clean up. They've been thresholded and partially cleaned with OpenCV, but there are artifacts around the edges that I've been struggling to remove....
0
votes
1
answer
169
views
mediapipe Image Segmentation with Dual-Output TFLite Model
I'm working on implementing image segmentation using my own custom TFLite model, following the code example from MediaPipe. Here's my code:
options = vision.ImageSegmenterOptions(
base_options=...
1
vote
0
answers
94
views
Instance Segmentation of Curved Surfaces
I have a render of four identical objects and need to segment the curved surfaces and classify them (associate similar ones with each other).
All the objects are positioned at the same angle relative ...
2
votes
1
answer
113
views
How to detect (most) mortared stones with OpenCV findContours
I need to correctly outline as many as possible of the mortared stones in a street zone. The code below correctly detects some of them in the stones image "in.jpg", but it is not obvious why ...
2
votes
1
answer
117
views
MethodError in Training Minimal U-Net
I need to implement a U-Net in Julia using Flux.jl. The ultimate goal is to train a neural network for a scientific problem. As a first step, I decided to experiment with the KITTI benchmark dataset.
...
1
vote
0
answers
278
views
Changing color of segments from YOLO segment predicted images
I am working on an object detection project, detecting three types of objects in a set of images. This image shows a Sample of yolo segment model prediction model image.
The issue I have is that ...
4
votes
0
answers
128
views
Unable to Use tf.image.rot90
I am working on a semantic segmantation problem, where x is of shape (batch_size,1,256,256) and y ( mask) is of shape (batch_size,2,256,256), where 2 is the number of classes and i am working with ...
1
vote
0
answers
49
views
problem with brain tumor segmentation 2D Unet with Dice_coef_loss
Knowing that I am training using the 4 MRI modalities, when I use categorical cross-entropy, in this tutorial from brain_tumor_segmentation_u_net the IOU and Dice coefficients work fine. However, when ...
0
votes
1
answer
103
views
How to modify my code to handle RGBX (4-channel) images for semantic segmentation?
I'm new to this field and have been following a U-Net tutorial using 3-channel RGB images for semantic segmentation https://www.youtube.com/watch?v=68HR_eyzk00&list=...
1
vote
0
answers
939
views
SAM 2.1 what is causing hydra.errors.MissingConfigException: Primary config module 'sam2' not found?
I am trying to fine tune the new SAM 2.1 segmentation model using the roboflow guide given here: Sam 2.1 roboflow guide
This code runs all fine when using google collab and no errors are encountered. ...
0
votes
1
answer
224
views
Applying non-maximum suppression for edge thinning to an image of edge gradient magnitude in R
I am trying to use Canny edge detection to extract dirt circles from an image using the imager package in R. In my sample image (here) there are 3 circles. I have thresholded the red band as it shows ...