Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about creating pertdata with own data files #79

Open
HelloWorldLTY opened this issue Jul 14, 2024 · 3 comments
Open

Questions about creating pertdata with own data files #79

HelloWorldLTY opened this issue Jul 14, 2024 · 3 comments

Comments

@HelloWorldLTY
Copy link

Hi, thanks for your work. I wonder if it is possible for us to access the sample_adata.h5ad file in the dataset tutorial. I intend to test if creating dataset functions have other errors or not. Thanks.

@HelloWorldLTY
Copy link
Author

Moreover, I found that I met nan when training GEARs with own datasets

What could be the possible reasons? Thanks.

Start Training...
Epoch 1 Step 1 Train Loss: 0.2541
Epoch 1 Step 51 Train Loss: 0.0840
Epoch 1 Step 101 Train Loss: 0.1225
Epoch 1 Step 151 Train Loss: 0.1427
Epoch 1 Step 201 Train Loss: 0.0407
Epoch 1 Step 251 Train Loss: nan

@yhr91
Copy link
Collaborator

yhr91 commented Aug 5, 2024

Can you provide more details on what dataset you are using for training. Did you use the data tutorial as is or did you make modifications

Very likely this is a problem of data normalization or maybe there are zeroes or nans in your data

@HelloWorldLTY
Copy link
Author

Hi, I used datasets from this paper (https://www.biorxiv.org/content/10.1101/2024.07.03.601903v1.abstract) which contains two large-scale perturbation datasets. I follow the recommended pre-processing step and verify that there are no nan values.

image

Thanks.

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

No branches or pull requests

2 participants