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

Error UsageError on author argument #78

Open
Hackathorn opened this issue Sep 24, 2021 · 1 comment
Open

Error UsageError on author argument #78

Hackathorn opened this issue Sep 24, 2021 · 1 comment

Comments

@Hackathorn
Copy link

When executing watermark on RASBT-STAT453 notebook with...
%watermark -a 'Sebastian Raschka' -v -p torch

Get error message...
UsageError: unrecognized arguments: Raschka
and no other watermark info.

Simple work-around is to insert underscore between first/last names.

Using VS Code 1.60.2 notebook with Python 3.8 & Torch 7.26 under Win10. Installed watermark-2.2.0 with conda from conda-forge.

@rasbt
Copy link
Owner

rasbt commented Sep 24, 2021

Thanks for the note, Richard. I think the problem is the single quotation marks. If you change it to double quotation marks, e.g.,

%watermark -a "Sebastian Raschka" -v -p torch

I believe it should work. I should be more careful with that in the future and update the documentation to warn about that.

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