-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fixes ci tests in example notebooks #725
Conversation
@@ -262,7 +262,7 @@ def upload( | |||
proj_run = f"{config.current_project_id}/{config.current_run_id}" | |||
location = f"{self.LOG_FILE_DIR}/{proj_run}" | |||
|
|||
if cuml_available(): | |||
if cuml_available() and config.task_type != 'semantic_segmentation': |
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.
if cuml_available() and config.task_type != 'semantic_segmentation': | |
if cuml_available() and config.task_type != TaskType.semantic_segmentation: |
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.
formatting issue and pls use TaskType, then good to go
Codecov Report
@@ Coverage Diff @@
## main #725 +/- ##
==========================================
+ Coverage 89.55% 89.75% +0.20%
==========================================
Files 167 168 +1
Lines 13409 13592 +183
==========================================
+ Hits 12008 12200 +192
+ Misses 1401 1392 -9
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I re-ran the failing tests, it worked for me this AM (the dq yolo one failing for a weird reason) |
Fixes an issue for those with cuml library installed where we tried to apply umap to embeddings even though semseg does not have any embeddings.