# \#destvi

**URL:** https://discourse.scverse.org/tag/destvi/11.md

[Latest](https://discourse.scverse.org/latest.md) · [Categories](https://discourse.scverse.org/categories.md) · [Tags](https://discourse.scverse.org/tags.md)

---

## [DestVI: how to load a DestVI model that was saved as a pickle](https://discourse.scverse.org/t/destvi-how-to-load-a-destvi-model-that-was-saved-as-a-pickle/3530)

<div class="topic-metadata">

**Author:** [@jliu678](https://discourse.scverse.org/u/jliu678)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 1:44pm UTC](https://discourse.scverse.org/t/destvi-how-to-load-a-destvi-model-that-was-saved-as-a-pickle/3530 "2025-03-09T13:44:59Z")

</div>

Hi scvi team, DestVI model was saved as a pickle as below: DestVI.setup\_anndata(st\_adata, layer="counts") st\_model = DestVI.from\_rna\_model(st\_adata, sc\_model) st\_model.view\_anndata\_setup() st\_model.train(max\_epochs=250…

---

## [scRNA-seq batch correction for DestVI](https://discourse.scverse.org/t/scrna-seq-batch-correction-for-destvi/2184)

<div class="topic-metadata">

**Author:** [@jdime](https://discourse.scverse.org/u/jdime)\
**Replies:** 2\
**Last updated:** [April 3, 2024, 9:08pm UTC](https://discourse.scverse.org/t/scrna-seq-batch-correction-for-destvi/2184 "2024-04-03T21:08:34Z")

</div>

Hello, Thanks for providing DestVI. I’m trying to understand if one can include batch correction in the scRNA-seq data processing for DestVI. The Methods section of the DestVI paper (Lopez et al. 2022) mentions that scV…

---

## [DestVI Tensor Nan Error](https://discourse.scverse.org/t/destvi-tensor-nan-error/502)

<div class="topic-metadata">

**Author:** [@frankchen121212](https://discourse.scverse.org/u/frankchen121212)\
**Replies:** 6\
**Last updated:** [August 4, 2023, 8:14pm UTC](https://discourse.scverse.org/t/destvi-tensor-nan-error/502 "2023-08-04T20:14:27Z")

</div>

Hi, I’m redirected from Tensor Nan Error · Issue #65 · scverse/scvi-tutorials · GitHub I’m following DestVI\_tutorial.ipynb to run the training in order to get the cell type composition matrix My input singlecell data: …

---

## [DestVI scRNA-seq considerations](https://discourse.scverse.org/t/destvi-scrna-seq-considerations/981)

<div class="topic-metadata">

**Author:** [@ellesley](https://discourse.scverse.org/u/ellesley)\
**Replies:** 3\
**Last updated:** [January 5, 2023, 10:41pm UTC](https://discourse.scverse.org/t/destvi-scrna-seq-considerations/981 "2023-01-05T22:41:01Z")

</div>

Hi, thank you for this great tool. I would like to deconvolve various cancer tissue spatial transcriptomic datasets which do not have matched scRNA-seq data. What are important considerations when finding other datasets,…

---

## [Assign cell label to each spot using DestVI](https://discourse.scverse.org/t/assign-cell-label-to-each-spot-using-destvi/217)

<div class="topic-metadata">

**Author:** [@ccruizm](https://discourse.scverse.org/u/ccruizm)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 1:00pm UTC](https://discourse.scverse.org/t/assign-cell-label-to-each-spot-using-destvi/217 "2021-11-10T13:00:14Z")

</div>

Good day! I am using DestVI to deconvolve Visium data, and after obtaining the proportions of cell types per spot, would like to assign the highest score to each spot to perform quick labeling of the spatial data. Do yo…

---

## [DestVI model on multiple visium slides](https://discourse.scverse.org/t/destvi-model-on-multiple-visium-slides/96)

<div class="topic-metadata">

**Author:** [@crg](https://discourse.scverse.org/u/crg)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 1:28pm UTC](https://discourse.scverse.org/t/destvi-model-on-multiple-visium-slides/96 "2021-06-16T13:28:47Z")

</div>

I have been following the tutorial on deconvoluting the visium data here: https://docs.scvi-tools.org/en/stable/user\_guide/notebooks/DestVI\_tutorial.html . The tutorial only fits the model to one slide. Is it the best a…
