-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
class scVILoader: | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def load(self): | ||
"""load scVI model | ||
calling download_scvi() and any other helper functions | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
class scVI: | ||
"""class to load and perform inference w/ scvi | ||
adding any additional utils from scvi that facilitate inference / data processing | ||
""" | ||
|
||
def __init__(self): | ||
import scvi | ||
pass | ||
|
||
def forward(self, **kwargs): | ||
""" | ||
loads self.model if needed | ||
calls inference on these arguments | ||
""" | ||
|
||
def load(self): | ||
"""import the model loader | ||
-> then, LOAD the MODEL CLASS and return it and also save it into self.model""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters