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

solo enhancements #1009

Merged
merged 3 commits into from
Apr 7, 2021
Merged

solo enhancements #1009

merged 3 commits into from
Apr 7, 2021

Conversation

adamgayoso
Copy link
Member

@adamgayoso adamgayoso commented Mar 28, 2021

Fixes #1008

@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Attention: Patch coverage is 97.22222% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.41%. Comparing base (d89fefd) to head (02ba004).

Files Patch % Lines
scvi/external/solo/_model.py 97.22% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1009      +/-   ##
==========================================
+ Coverage   90.38%   90.41%   +0.03%     
==========================================
  Files          90       90              
  Lines        6562     6583      +21     
==========================================
+ Hits         5931     5952      +21     
  Misses        631      631              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adamgayoso adamgayoso merged commit 6dae648 into master Apr 7, 2021
@adamgayoso adamgayoso deleted the solo_enhance branch April 7, 2021 23:52
@@ -257,20 +345,29 @@ def auto_forward(module, x):
for _, tensors in enumerate(scdl):
x = tensors[_CONSTANTS.X_KEY]
pred = auto_forward(self.module, x)
if not soft:
Copy link
Contributor

Choose a reason for hiding this comment

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

@adamgayoso why did you remove this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Finally getting back to work on things. So hopefully I can get that tutorial out soon

preds, columns=cols, index=self.adata.obs_names[singlet_mask]
)

if soft:
Copy link
Contributor

Choose a reason for hiding this comment

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

ahh I see. shouldn't this be if not soft?

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.

Solo enhancements
2 participants