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

real_multi_modality #459

Open
wants to merge 442 commits into
base: main
Choose a base branch
from
Open

real_multi_modality #459

wants to merge 442 commits into from

Conversation

xingzhongyu
Copy link
Collaborator

No description provided.

@@ -270,6 +274,72 @@ def _load_raw_data(self, ct_col: str = "Cell_type") -> Tuple[ad.AnnData, List[Se

return adata, labels, idx_to_label, train_size, 0

def _load_raw_data_single_h5ad(self,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Get train, valid and test data through a single h5ad

@@ -793,6 +794,14 @@ def _params_search_space(self) -> Dict[str, Dict[str, Optional[Union[str, float]
def wandb_sweep_config(self) -> Dict[str, Any]:
if self.wandb_config is None:
raise ValueError("wandb config not specified in the raw config.")
if "run_kwargs" in self.config:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Get specific run_kwargs to search

@@ -33,7 +33,7 @@ repos:
args: [--line-width, "120", --profile, black]

- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
rev: eb1df34
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

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.

1 participant