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

Unrecognized arguments: --nsamples 1000 #36

Open
gtteixeira opened this issue May 8, 2022 · 1 comment
Open

Unrecognized arguments: --nsamples 1000 #36

gtteixeira opened this issue May 8, 2022 · 1 comment

Comments

@gtteixeira
Copy link

Hi

After run the example:
python generate.py --vocab data/chembl/vocab.txt --model ckpt/chembl-pretrained/model.ckpt --nsamples 1000

I got the error when passing the argument --nsamples

usage: generate.py [-h] --vocab VOCAB [--atom_vocab ATOM_VOCAB] --model MODEL
[--seed SEED] [--nsample NSAMPLE] [--rnn_type RNN_TYPE]
[--hidden_size HIDDEN_SIZE] [--embed_size EMBED_SIZE]
[--batch_size BATCH_SIZE] [--latent_size LATENT_SIZE]
[--depthT DEPTHT] [--depthG DEPTHG] [--diterT DITERT]
[--diterG DITERG] [--dropout DROPOUT]
generate.py: error: unrecognized arguments: --nsamples 1000

When I remove this arguments everything is ok.

@gtteixeira
Copy link
Author

Hi,
I have already identified the error, which is in the --nsamples flag. The correct way is to write --nsample. I just have made a pull request fixing this in the README file.
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

1 participant