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&RuntimeError bug fixes for PyTorch1.7.0 implementation #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

AssertionError&RuntimeError bug fixes for PyTorch1.7.0 implementation #12

wants to merge 1 commit into from

Conversation

bahadirbasaran
Copy link

The current version of the source code does not work properly on some PyTorch versions.

I have tried on the current latest PyTorch version (v1.7.0) at first and faced with the AssertionError which was mentioned in issue #8. Thanks to PR #10, AssertionError was fixed. However, the code was not able to work properly on PyTorch1.7.0, due to a RuntimeError.

This PR provides a valid code, tested on the current latest version of PyTorch.

@Throne-myworld
Copy link

RuntimeError: torch.cat(): Tensors must have same number of dimensions: got 2 and 3
Now I got this error, could you give me some advice?

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

Successfully merging this pull request may close these issues.

2 participants