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

ValueError: Sample larger than population or is negative #19

Open
muu4649 opened this issue Mar 18, 2019 · 0 comments
Open

ValueError: Sample larger than population or is negative #19

muu4649 opened this issue Mar 18, 2019 · 0 comments

Comments

@muu4649
Copy link

muu4649 commented Mar 18, 2019

Hi! I have one question. I used dataset of QM9(10000 datasets of SMILES and properties).
I tried to do intro_to_chemvae.py , but errors happened as below.

File "intro_to_chemvae.py", line 19, in
vae = VAEUtils(directory='../models/QM9')
File "/home/anaconda3/envs/chemvae/lib/python3.6/site-packages/chemvae-1.0.0-py3.6.egg/chemvae/vae_utils.py", line 52, in init
File "/home/anaconda3/envs/chemvae/lib/python3.6/site-packages/chemvae-1.0.0-py3.6.egg/chemvae/vae_utils.py", line 61, in estimate_estandarization
File "/home/anaconda3/envs/chemvae/lib/python3.6/site-packages/chemvae-1.0.0-py3.6.egg/chemvae/vae_utils.py", line 289, in random_molecules
File "/home/anaconda3/envs/chemvae/lib/python3.6/random.py", line 320, in sample
raise ValueError("Sample larger than population or is negative")
ValueError: Sample larger than population or is negative

This error can be considered that QM9 datasets is fewer than zinc datasets..
I would like you to tell me if you know..

Best wishes

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

1 participant