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
Malte lig 1262 advanced selection external docs #900
Malte lig 1262 advanced selection external docs #900
Conversation
As an initial test I went through the "First Steps" section and I have some feedback. Will summarize it below. Feedback:
@IgorSusmelj please note that some of this feedback might be outdated after the discussion we had with @MalteEbner @guarin and @michal-lightly about how to pass the selection config (dict vs object). I will provide more feedback when testing a more involved example but in general we need to make sure that all the examples and code snippets work! |
Suggestion for blocks you can test:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed "First steps (/docker/getting_started/first_steps.html)" so far. Good news is that I only had to fix one thing and everything ran through 🙂
One thing I noticed: The percentage stopping condition is not documented anywhere.
Because it is not implemented yet: https://linear.app/lightly/issue/LIG-1661/add-proportion-samples-to-openapi-specs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review for the getting_started/selection.rst
part. Will finish it tomorrow :)
I tried the code and it worked (with some minor tweaks). I'll also try all the "configuration examples" later on.
Edit: It looks like @philippmwirth already tested the remaining part so I'll skip it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed the "Getting Started -> Selection" part. All the tests run through when switching n_samples
to nSamples
but I have some more feedback.
docs/source/docker/advanced/code_examples/python_run_datapool_example.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next review :)
The code worked like a charm 💯
docs/source/docker/advanced/code_examples/python_run_pretagging.py
Outdated
Show resolved
Hide resolved
docs/source/docker/advanced/code_examples/python_run_active_learning.py
Outdated
Show resolved
Hide resolved
docs/source/docker/advanced/code_examples/python_run_object_level.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final review 😅
Codecov Report
@@ Coverage Diff @@
## master #900 +/- ##
==========================================
+ Coverage 89.38% 89.41% +0.02%
==========================================
Files 98 98
Lines 4429 4439 +10
==========================================
+ Hits 3959 3969 +10
Misses 470 470
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
707eb17
to
25a3c22
Compare
d13b85a
to
747a8cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Almost there! There are a few typos and minor errors left but otherwise this looks great 💯
docs/source/docker/advanced/code_examples/python_run_active_learning.py
Outdated
Show resolved
Hide resolved
I removed the whole "active_learning.rst" part as
|
This will result in a dead link which is not optimal. Can you add a redirect to the selection page at least? |
I added a redirect:
From the logs:
Please be aware that docker/advanced will NOT include active learning anymore, as this will be part of the regular selection. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a bit more feedback.
I also have a question: Do you know if @guarin tested out all the examples?
docs/source/docker/advanced/code_examples/python_run_active_learning.py
Outdated
Show resolved
Hide resolved
I assume that he has, as there are ticks for all the tests where he put his name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just approving since other people are OOO.
Description
Tabs vs. Dropdowns
Here tabs are used for the SelectionStrategy and Dropdowns for the configuration examples.