-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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.pyfor dimensions set to2and segments set to2ran quickly (under a minute)python image_segmentation.pyfor dimensions set to3and segments set to2ran quickly (under a minute)python image_segmentation.pyfor dimensions set to6and segments set to2and to4ran quickly (under a minute)
Preinstalled images:
python image_segmentation.py test_2_segments.pngfor 2 segments took ~15 minutespython image_segmentation.py test_4_segments.pngfor 4 segments took ~15 minutespython image_segmentation.py test_image.jpegfor 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.jpegfor 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels