Closed Sirin24 closed 3 weeks ago
Oh, I think we have a typo in that code block. It should be:
scvi_model = scvi.model.SCVI(adata, **arches_params)
Thanks for bringing this up!
thank you for the fast response. i want to ask another question regarding the same vignette. why we trained the model without normalizing, logP or scaling the the reference ?
Hi, this is because scVI and scANVI expect the input to be raw counts. This is necessary because the generative portions of the models use distributions that only support non-negative integers (Poisson and negative binomial).
there is currently a bug in https://docs.scvi-tools.org/en/stable/tutorials/notebooks/scrna/scarches_scvi_tools.html#reference-mapping-with-scanvi for v1.1.x that will be solved in v1.2.x
i am following https://docs.scvi-tools.org/en/stable/tutorials/notebooks/scrna/scarches_scvi_tools.html#reference-mapping-with-scanvi