-
Notifications
You must be signed in to change notification settings - Fork 1
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
Extend NN Archive Generation Test Coverage #18
Conversation
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
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.
Thanks - LGTM
for i in range(10): | ||
img = np.random.randint(0, 256, (10, 10, 3), dtype=np.uint8) | ||
img_file_path = os.path.join(cls.tmp_path, "images", f"img{i}.png") | ||
def _make_dummy_ldf( |
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.
Not important and just an idea, but I could see this being useful across other tests too. We could make a LuxonisDatasetFactory
as a shared factory which can be used in other tests as well.
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.
It might also make sense to instead implement it in luxonis-ml
and import it here since it would be useful for luxonis-ml
tests
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.
Sure, it makes sense to move it to luxonis-ml!
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.
LGTM
* extend NN Archive generation test coverage to cover all implemented heads * [Automated] Updated coverage badge --------- Co-authored-by: GitHub Actions <[email protected]>
Extending test coverage of NN archive generation for each type of head in luxonis-train. For each head, we now have the following tests implemented: