You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to set expectations on the runtimes of this example, those with preinstalled images are much longer than I would have guessed (compared to small random generated and our other DQM examples),
Also, running one preinstalled image, within recommended parameter limits, fails (I assume this was tested in the past so might need also an IDE issue).
Here's what I got on a few executions in Leap IDE:
Random generated:
python image_segmentation.py for dimensions set to 2 and segments set to 2 ran quickly (under a minute)
python image_segmentation.py for dimensions set to 3 and segments set to 2 ran quickly (under a minute)
python image_segmentation.py for dimensions set to 6 and segments set to 2 and to 4 ran quickly (under a minute)
Preinstalled images:
python image_segmentation.py test_2_segments.png for 2 segments took ~15 minutes
python image_segmentation.py test_4_segments.png for 4 segments took ~15 minutes
python image_segmentation.py test_image.jpeg for 5 segments aborted after about 20 minutes:
Leap IDE /workspace/image-segmentation $ python image_segmentation.py test_image.jpeg
Reading in your image...
Enter number of segments > 5
Preparing DQM object...
Killed
python image_segmentation.py test_image.jpeg for 2 segments aborted after about 20 minutes:
Leap IDE /workspace/image-segmentation $ python image_segmentation.py test_image.jpeg
Reading in your image...
Enter number of segments > 2
Preparing DQM object...
Killed
The text was updated successfully, but these errors were encountered:
It would be helpful to set expectations on the runtimes of this example, those with preinstalled images are much longer than I would have guessed (compared to small random generated and our other DQM examples),
Also, running one preinstalled image, within recommended parameter limits, fails (I assume this was tested in the past so might need also an IDE issue).
Here's what I got on a few executions in Leap IDE:
Random generated:
python image_segmentation.py
for dimensions set to2
and segments set to2
ran quickly (under a minute)python image_segmentation.py
for dimensions set to3
and segments set to2
ran quickly (under a minute)python image_segmentation.py
for dimensions set to6
and segments set to2
and to4
ran quickly (under a minute)Preinstalled images:
python image_segmentation.py test_2_segments.png
for 2 segments took ~15 minutespython image_segmentation.py test_4_segments.png
for 4 segments took ~15 minutespython image_segmentation.py test_image.jpeg
for 5 segments aborted after about 20 minutes:python image_segmentation.py test_image.jpeg
for 2 segments aborted after about 20 minutes:The text was updated successfully, but these errors were encountered: