Skip to content

exposed batch_size parameter to prevent the final minibatch from having 1 cell#230

Open
AtSourav wants to merge 1 commit into
masterfrom
scvi_batch_size
Open

exposed batch_size parameter to prevent the final minibatch from having 1 cell#230
AtSourav wants to merge 1 commit into
masterfrom
scvi_batch_size

Conversation

@AtSourav

Copy link
Copy Markdown

scVI cannot process minibatches of size 1, so if the number of cells is 128*n +1 then an error is thrown from scVI. Exposed the batch size param in the scVIIntegration method, which if not specified is set to a value that will avoid this problem (if needed)

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