Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sheridana
Copy link
Contributor

Description

Add supervised ID models to GUI

Types of changes

  • Bugfix
  • New feature
  • Refactor / Code style update (no logical changes)
  • Build / CI changes
  • Documentation Update
  • Other (explain)

Does this address any currently open issues?

[list open issues here]

Outside contributors checklist

  • Review the guidelines for contributing to this repository
  • Read and sign the CLA and add yourself to the authors list
  • Make sure you are making a pull request against the develop branch (not main). Also you should start your branch off develop
  • Add tests that prove your fix is effective or that your feature works
  • Add necessary documentation (if appropriate)

Thank you for contributing to SLEAP!

❤️

@codecov
Copy link

codecov bot commented Mar 7, 2023

Codecov Report

Merging #1213 (2abad9a) into develop (5b3b598) will decrease coverage by 0.05%.
The diff coverage is 51.35%.

@@             Coverage Diff             @@
##           develop    #1213      +/-   ##
===========================================
- Coverage    72.36%   72.31%   -0.05%     
===========================================
  Files          132      132              
  Lines        23502    23526      +24     
===========================================
+ Hits         17008    17014       +6     
- Misses        6494     6512      +18     
Impacted Files Coverage Δ
sleap/gui/learning/scopedkeydict.py 90.32% <ø> (ø)
sleap/gui/learning/dialog.py 64.42% <41.93%> (-1.45%) ⬇️
sleap/gui/learning/receptivefield.py 85.85% <100.00%> (-0.15%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sheridana sheridana marked this pull request as ready for review March 9, 2023 00:13
@sheridana sheridana requested review from roomrys and talmo March 9, 2023 00:13
Copy link
Contributor

@roomrys roomrys left a comment

Choose a reason for hiding this comment

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

Few comments that I will handle quickly, looks great!

Comment on lines 362 to 371
if recent_cfg_info.head_name in ("multi_class_topdown"):
return "top-down-id"
if recent_cfg_info.head_name in ("centroid", "centered_instance"):
return "top-down"
if recent_cfg_info.head_name in ("multi_instance"):
return "bottom-up"
if recent_cfg_info.head_name in ("single_instance"):
return "single"
if recent_cfg_info.head_name in ("multi_class_bottomup"):
return "bottom-up-id"
Copy link
Contributor

Choose a reason for hiding this comment

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

Most of these are not tuples (except for the "top-down" check). Thus, if the recent_cfg_info.head_name were "multi_class", then it would be in "multi_class_topdown" and in "multi_class_bottomup". This likely won't be a problem since the recent_cfg_info.head_name is set from only a few options, but we may not be doing the check we thought we were.

@roomrys roomrys changed the title Arlo/supervised id gui Expose supervised ID models to GUI Mar 14, 2023
@roomrys roomrys merged commit 4bd0171 into develop Mar 14, 2023
@roomrys roomrys deleted the arlo/supervised_id_gui branch March 14, 2023 23:05
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.

2 participants