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

Add some expected runtimes #13

Open
JoelPasvolsky opened this issue May 4, 2023 · 0 comments
Open

Add some expected runtimes #13

JoelPasvolsky opened this issue May 4, 2023 · 0 comments

Comments

@JoelPasvolsky
Copy link
Contributor

JoelPasvolsky commented May 4, 2023

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
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

No branches or pull requests

1 participant