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

How is the limit_data used in exp.json ? #21

Open
abhik1368 opened this issue Jun 4, 2019 · 2 comments
Open

How is the limit_data used in exp.json ? #21

abhik1368 opened this issue Jun 4, 2019 · 2 comments

Comments

@abhik1368
Copy link

When we are training a million molecules should we keep the limit_data as 5000 or we change ? What are the parameters affecting in training a set of 1 million ?

@AustinApple
Copy link

Hello, According to the code in the train_vae.py

if 'limit_data' in params.keys():
        sample_idx = np.random.choice(np.arange(len(smiles)), params['limit_data'], replace=False)
        smiles=list(np.array(smiles)[sample_idx])
        if params['do_prop_pred'] and ('data_file' in params):
            if "reg_prop_tasks" in params:
                Y_reg =  Y_reg[sample_idx]
            if "logit_prop_tasks" in params:
                Y_logit =  Y_logit[sample_idx]

so when you want to train a million molecules data you have, you should remove the key "limit_data" in the file exp.json.

@jnwei-zz
Copy link
Collaborator

jnwei-zz commented Jun 5, 2019 via email

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

3 participants