# \#model-development

**URL:** https://discourse.scverse.org/tag/model-development/26.md

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

---

## [Adding cycle consistency loss and VampPrior to scVI](https://discourse.scverse.org/t/adding-cycle-consistency-loss-and-vampprior-to-scvi/1987)

<div class="topic-metadata">

**Author:** [@Hrovatin](https://discourse.scverse.org/u/Hrovatin)\
**Replies:** 2\
**Last updated:** [January 9, 2024, 7:09am UTC](https://discourse.scverse.org/t/adding-cycle-consistency-loss-and-vampprior-to-scvi/1987 "2024-01-09T07:09:26Z")

</div>

We were considering adding cycle consistency loss and VampPrior (see Integrating single-cell RNA-seq datasets with substantial batch effects | bioRxiv) to scvi-tools as a separate model or if possible to scVI directly as…

---

## [How to set DataLoader(drop\_last=True) for a model?](https://discourse.scverse.org/t/how-to-set-dataloader-drop-last-true-for-a-model/761)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.scverse.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [September 21, 2022, 11:04pm UTC](https://discourse.scverse.org/t/how-to-set-dataloader-drop-last-true-for-a-model/761 "2022-09-21T23:04:22Z")

</div>

Question: How do I set torch.utils.data.DataLoader(drop\_last=True). In this case, runtime or at the model level works equally well. Background: I need to do some latent space arithmetic that requires even batch sizes

---

## [Overriding functions from submodule](https://discourse.scverse.org/t/overriding-functions-from-submodule/298)

<div class="topic-metadata">

**Author:** [@FrancescaDr](https://discourse.scverse.org/u/FrancescaDr)\
**Replies:** 5\
**Last updated:** [March 2, 2022, 11:25pm UTC](https://discourse.scverse.org/t/overriding-functions-from-submodule/298 "2022-03-02T23:25:39Z")

</div>

Hello! I am using the conditional Variational auto-encoder model (scvi.module.VAEC) and would like to adjust its functionalities. First of all, I would like to return additional loss values to the ones that are current…
