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

AssertionError: the height of conv must be 1 #121

Closed
bartengine27 opened this issue Jan 29, 2020 · 2 comments
Closed

AssertionError: the height of conv must be 1 #121

bartengine27 opened this issue Jan 29, 2020 · 2 comments

Comments

@bartengine27
Copy link

Dear,

Thanks for making your source available!

After building an lmdb dataset and starting train_MORAN.sh, I encounter the following error:
AssertionError: the height of conv must be 1
Any idea how I can debug that?

Thanks,
Bart

@bartengine27
Copy link
Author

The issue above is related to the image size, if I use a size different from the size in main.py, I get the error above.

What should be changed to accept larger images?

thanks,
Bart

@Canjie-Luo
Copy link
Owner

Thanks for your attention. The default height for ASRN is set to 32. If you use a size different from mine, please customize the encoder in the ASRN to make sure the height of conv is 1 or use a 2D decoder in the ASRN.

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