Comments (3)
This usually happens when the chosen reconstruction distribution (likelihood function) is not fit for the data set. Have you another distribution? Right now, the training will only be aborted if the ELBO for a batch becomes indefinite during training. I have added additional checks for the training and validation sets in the next version. So you should be able to evaluate the model afterwards.
I have not used Google Colab, so I'm not familiar with it. When I use scVAE on a local machine, TensorFlow use all available resources unless I limit it.
from scvae.
I am currently using ZINB distribution and I have not tried other distributions. Thanks for adding the additional checks!
from scvae.
This usually happens when the chosen reconstruction distribution (likelihood function) is not fit for the data set. Have you another distribution? Right now, the training will only be aborted if the ELBO for a batch becomes indefinite during training. I have added additional checks for the training and validation sets in the next version. So you should be able to evaluate the model afterwards.
I have not used Google Colab, so I'm not familiar with it. When I use scVAE on a local machine, TensorFlow use all available resources unless I limit it.
Sorry, I am using scvae version 2.1.4, but when I run it, I notice that it is still running on the CPU.
For example, in the code snippet at https://github.com/scvae/scvae/blob/d6148efabfb12eda8bd1b895e1bb72f592e39ab0/scvae/cli.py#L629C9-L629C9, if I want to run it on the GPU, I usually specify model = model.to(device)
. In TensorFlow, I might use with tf.device('/gpu:0')
, but I haven't found a similar option here. The entire training process is happening on the CPU. If I am mistaken, please point out my error and let me know how to train on the GPU. If my understanding is correct, would it be possible to add an option like scvae train --gpu-id 0
?
from scvae.
Related Issues (20)
- OSError: [Errno 22] during scvae evaluate HOT 1
- Getting data from latent z-space HOT 1
- getting actual points in tSNE reconstructions
- Loading HDF5 datasets crash because data_dictionary["example names"] is set to None HOT 1
- Error while performing evaluation HOT 3
- 10x Issue
- does scvae support pytorch and scanpy?
- Working with SCVAE to analyse single cell RNA seq data
- urllib.error.HTTPError: HTTP Error 403: Forbidden HOT 4
- How to run the commands for mnist dataset ? HOT 1
- ValueError: Data format already specified in metadata and cannot be changed (is `gz`; wanted `matrix_fbe`). HOT 3
- how I get early stop model and Z?
- Multiple h5 for processing and tissue integration HOT 3
- ZeroInflated distribution HOT 1
- AttributeError: 'NoneType' object has no attribute 'points_to_pixels' HOT 4
- Seurat objects HOT 1
- What does the loom format dataset look like specifically? HOT 2
- TypeError: __init__() got an unexpected keyword argument 'required' HOT 2
- Data format h5 not recognised,and 10x wanted (but I set format="10x" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scvae.