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

OD model type support in responsibleai_vision for EA #2233

Merged
merged 8 commits into from
Sep 6, 2023

Conversation

Advitya17
Copy link
Collaborator

This PR adds OD support in EA due to the hybrid use-case of OD models.

Description

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2023

Codecov Report

Merging #2233 (319eb66) into main (ff48382) will decrease coverage by 10.46%.
The diff coverage is n/a.

❗ Current head 319eb66 differs from pull request most recent head ae89390. Consider uploading reports for the commit ae89390 to get more accurate results

@@             Coverage Diff             @@
##             main    #2233       +/-   ##
===========================================
- Coverage   89.17%   78.72%   -10.46%     
===========================================
  Files         121       26       -95     
  Lines        6634     2190     -4444     
===========================================
- Hits         5916     1724     -4192     
+ Misses        718      466      -252     
Flag Coverage Δ
unittests 78.72% <ø> (-10.46%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...nsibleai_vision/managers/error_analysis_manager.py 79.23% <ø> (-0.63%) ⬇️

... and 120 files with indirect coverage changes

1 similar comment
@Advitya17 Advitya17 marked this pull request as ready for review September 6, 2023 14:25
pred_labels = [str(i) for i in pred_labels]
# concatenate all predicted labels into a single string
predictions_joined.append(','.join(pred_labels))
self.predictions = np.array(predictions_joined)
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a test covering this case already?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Great catch! Didn't see a dedicated test_error_analysis_manager.py file in responsibleai_vision, but saw a flag in the main testing file. Some weird bug in pandas it seems when I test it locally, so can work on it in the next PR.

1 similar comment
@Advitya17 Advitya17 force-pushed the agemawat/ea_rai_vision branch from cddf833 to 319eb66 Compare September 6, 2023 19:39
@Advitya17 Advitya17 merged commit 3382470 into main Sep 6, 2023
@Advitya17 Advitya17 deleted the agemawat/ea_rai_vision branch September 6, 2023 19:41
2 similar comments
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

Successfully merging this pull request may close these issues.

3 participants