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

Maybe a small mistake in README.md #3

Open
ChenxiTU opened this issue Nov 30, 2017 · 6 comments
Open

Maybe a small mistake in README.md #3

ChenxiTU opened this issue Nov 30, 2017 · 6 comments

Comments

@ChenxiTU
Copy link

In

Encode and Decode

You mention that

Decode

python decoder.py --model checkpoint/encoder_epoch_00000005.pth --input /path/to/your/example.npz --cuda --output /path/to/output/folder
Maybe here should be checkpoint/decoder_epoch_00000005.pth?

@Jillian2017
Copy link

Hi @ChenxiTU,
when running the encopy.py, i come across a error :TypeError:super( ) takes at least 1 argument(0 given)
in binarizer = network.Binarizer( ), the super() function is in modules/sign.py. Have you ever met such bug before?

@ChenxiTU
Copy link
Author

@Jillian2017
Sorry, until now I just tried comments given by author and have not met any bug.

@Jillian2017
Copy link

I got,thanks.

@alex-golts
Copy link

I think it's because you tried running it with Python 2. Try Python 3, or use the "super(ClassName, self)" syntax instead

@alex-golts
Copy link

@Jillian2017 , have you seen the fix suggested in #4 ?

@Jillian2017
Copy link

@alexgo1, yeah, I find it, thanks a lot.

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