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: Checkpoint #15

Open
Ami-Agarwal opened this issue Jan 4, 2020 · 2 comments
Open

Unrecognized Arguments: Checkpoint #15

Ami-Agarwal opened this issue Jan 4, 2020 · 2 comments

Comments

@Ami-Agarwal
Copy link

Ami-Agarwal commented Jan 4, 2020

Whenever running the following command on Google Colab
!python /content/home/ami/paraphraser/paraphraser/inference.py --checkpoint = /content/model-171856.data-00000-of-00001

I get the following error:
usage: inference.py [-h] [--checkpoint CHECKPOINT]
inference.py: error: unrecognized arguments: /content/model-171856.data-00000-of-00001

Don't know how to address this. Runtime type: Python3, GPU
I have uploaded the train folder containing model on Google Drive and mounted Google Drive on Colab to access the model. I downloaded it from the link provided with the paraphraser README.

Thank You,
Ami Agarwal.

@sxs4337
Copy link

sxs4337 commented Jun 4, 2020

Any updates on this?
Not sure what model name should be used for run the inference.

@sxs4337
Copy link

sxs4337 commented Jun 4, 2020

Was able to run with this-
python inference.py --checkpoint=../model/model-171856
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