Skip to content

Yolo_predict_tutorial_deepsea#6258

Closed
mjoudy wants to merge 45 commits intogalaxyproject:mainfrom
mjoudy:yolo_predict_tutorial_deepsea
Closed

Yolo_predict_tutorial_deepsea#6258
mjoudy wants to merge 45 commits intogalaxyproject:mainfrom
mjoudy:yolo_predict_tutorial_deepsea

Conversation

@mjoudy
Copy link
Copy Markdown

@mjoudy mjoudy commented Jul 16, 2025

Hi all,

This is a tutorial for yolo prediction tool based on deepsea seanoe dataset. Please kindly give your feedback.

@mjoudy mjoudy marked this pull request as ready for review July 16, 2025 19:42
@anuprulez anuprulez self-requested a review July 18, 2025 08:05
Copy link
Copy Markdown
Collaborator

@kostrykin kostrykin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Some comments inside.

Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/images/yolo/bythog2.jpeg
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
yvanlebras and others added 7 commits July 18, 2025 11:35
Co-authored-by: Leonid Kostrykin <void@evoid.de>
Co-authored-by: Leonid Kostrykin <void@evoid.de>
Co-authored-by: Leonid Kostrykin <void@evoid.de>
Co-authored-by: Leonid Kostrykin <void@evoid.de>
Co-authored-by: Leonid Kostrykin <void@evoid.de>
Co-authored-by: Leonid Kostrykin <void@evoid.de>
@yvanlebras
Copy link
Copy Markdown
Collaborator

Hi Mohammad. I added previously added content from the older PR (sorry, I was not seeing there was 2 identicial PR...) proposing a format more linked with GTN material with hands-on, comment tip and warning. I also propose to be co-author and to propose this tutorial in both Imaging and Ecology GTN sections (if this seems ok for you @shiltemann @bebatut @hexylena ).

Plaese, don't hesitate to modify / comment / revert !

Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread Gemfile.lock
@anuprulez
Copy link
Copy Markdown
Member

@yvanlebras I agree. We can have this tutorial for both - Ecology and BioImaging. Actually, i was talking to @sunyi000 two days back and he suggested the same. He plans to work on a new tutorial for Yolo training tool. @mjoudy can you use images from BioImage model zoo (https://bioimage.io/#/models) to make prediction using Yolo models? Some sample images you can find in this tutorial: https://training.galaxyproject.org/training-material/topics/imaging/tutorials/process-image-bioimageio/tutorial.html

@anuprulez
Copy link
Copy Markdown
Member

@yvanlebras @kostrykin thank you very much for your work on this. @mjoudy please address the issues mentioned

@yvanlebras
Copy link
Copy Markdown
Collaborator

For SEANOE data part, I can also add some steps further to take all txt files to produce a summary of number of each species detected if relevant / of interest.

@mjoudy
Copy link
Copy Markdown
Author

mjoudy commented Jul 23, 2025

Hi Mohammad. I added previously added content from the older PR (sorry, I was not seeing there was 2 identicial PR...) proposing a format more linked with GTN material with hands-on, comment tip and warning. I also propose to be co-author and to propose this tutorial in both Imaging and Ecology GTN sections (if this seems ok for you @shiltemann @bebatut @hexylena ).

Plaese, don't hesitate to modify / comment / revert !

Thanks Yvan. sorry I had made a mistake and opened two PR. after a while I closed one of them.
Thank you for your suggestions and help.

@mjoudy
Copy link
Copy Markdown
Author

mjoudy commented Jul 23, 2025

@yvanlebras I agree. We can have this tutorial for both - Ecology and BioImaging. Actually, i was talking to @sunyi000 two days back and he suggested the same. He plans to work on a new tutorial for Yolo training tool. @mjoudy can you use images from BioImage model zoo (https://bioimage.io/#/models) to make prediction using Yolo models? Some sample images you can find in this tutorial: https://training.galaxyproject.org/training-material/topics/imaging/tutorials/process-image-bioimageio/tutorial.html

Thank you Anup for suggestions. Actually, as far as I know, images and models in the BioImage zoo are not yolo-based. Please let me know if there are any. Currently, I am looking for some bio-inspired yolo pre-trained models to make a better example for the segmentation part.

Copy link
Copy Markdown
Collaborator

@kostrykin kostrykin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
@yvanlebras
Copy link
Copy Markdown
Collaborator

Hi everyone. Really sorry to come back just now on this PR! I created a new history to try on "just" 2 input images https://usegalaxy.eu/u/ylebras/h/yolo-training-on-just-2-images so we can put these files in Zenodo for a more easier to follow and use tutorial! Will try to create the GTN Zenodo repo, and / or Arthur will continue and finish this tutorial!
When I was tested, I saw that the last version of the tool, v4, is not workinf properly apparently (see error datasert on previously mentionned history)...

Copy link
Copy Markdown
Member

@shiltemann shiltemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mjoudy! I just pushed some changes to address the linting errors.

Thanks @yvanlebras and @kostrykin for reviewing testing and improving this

Comment thread CONTRIBUTORS.yaml
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md Outdated
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md
Comment thread topics/imaging/tutorials/yolo_prediction/tutorial.md
@kostrykin
Copy link
Copy Markdown
Collaborator

Hi everyone. Really sorry to come back just now on this PR! I created a new history to try on "just" 2 input images https://usegalaxy.eu/u/ylebras/h/yolo-training-on-just-2-images so we can put these files in Zenodo for a more easier to follow and use tutorial! Will try to create the GTN Zenodo repo, and / or Arthur will continue and finish this tutorial! When I was tested, I saw that the last version of the tool, v4, is not workinf properly apparently (see error datasert on previously mentionned history)...

The error is with the toolshed.g2.bx.psu.edu/repos/bgruening/yolo_predict/yolo_predict/8.3.0+galaxy4 tool, @sunyi000 can you maybe help with this?

@sunyi000
Copy link
Copy Markdown
Contributor

Hi everyone. Really sorry to come back just now on this PR! I created a new history to try on "just" 2 input images https://usegalaxy.eu/u/ylebras/h/yolo-training-on-just-2-images so we can put these files in Zenodo for a more easier to follow and use tutorial! Will try to create the GTN Zenodo repo, and / or Arthur will continue and finish this tutorial! When I was tested, I saw that the last version of the tool, v4, is not workinf properly apparently (see error datasert on previously mentionned history)...

The error is with the toolshed.g2.bx.psu.edu/repos/bgruening/yolo_predict/yolo_predict/8.3.0+galaxy4 tool, @sunyi000 can you maybe help with this?

from the output in history, looks like a detection model is used for segmentation tasks, so the masks are None?

@yvanlebras
Copy link
Copy Markdown
Collaborator

Hi everyone, hope all is ok for each of you. It seems to me the tuto is in a standby process. If ok for you all, I can propose to modify it removing the last part "Segmentation with an Ultralytics example" just malking prediction on underwater species? Also, I wanted to push this tuto on Ecology topic. Can we put this tuto on both Imaging and Ecology topics ?

@bgruening
Copy link
Copy Markdown
Member

Please feel free to take it over @yvanlebras. Thanks.

@shiltemann
Copy link
Copy Markdown
Member

Thanks @yvanlebras 👍

For adding a tutorial to two topics, I recently implemented this, have a look at the subtopics section of this tutorial https://galaxyproject.github.io/training-material/topics/contributing/tutorials/create-new-topic/tutorial.html#subtopics

and also this PR: #6531

basically you can define crosstopic_tutorials in a subtopic to include tutorials from different topics in the tutorial list

@yvanlebras
Copy link
Copy Markdown
Collaborator

Thank you Saskia, Amazing !!!!

@yvanlebras
Copy link
Copy Markdown
Collaborator

So, if ok for you, I will propose a yolo oriented tuto reusing what we were doing here in the Ecology topic, and then we can close this PR if relevant for you all

@shiltemann
Copy link
Copy Markdown
Member

closing this in favour of #6757

@shiltemann shiltemann closed this Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants