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

Issue running evensucc10 dataset #2

Open
moqingyan opened this issue Nov 9, 2021 · 2 comments
Open

Issue running evensucc10 dataset #2

moqingyan opened this issue Nov 9, 2021 · 2 comments

Comments

@moqingyan
Copy link

By simply changing the learning folder to the evensucc10 dataset through:

--data_root ../data/evensucc10

yields an error:

  File "<...>/model/SubLayers.py", line 45, in forward
    q = q.permute(2, 0, 1, 3).contiguous().view(-1, len_q, d_k)  # (n*b) x lq x dk
RuntimeError: cannot reshape tensor of 0 elements into shape [-1, 0, 32] because the unspecified dimension size -1 can be any value and is ambiguous

I believe it is caused by

mldel/Models.py: line 200~204: # TODO: debug ...

Can you help me take a look into this issue?

@asaclam
Copy link

asaclam commented Mar 29, 2022

I also encountered this problem. Has this problem been solved?

@asaclam
Copy link

asaclam commented Mar 29, 2022

By simply changing the learning folder to the evensucc10 dataset through:

--data_root ../data/evensucc10

yields an error:

  File "<...>/model/SubLayers.py", line 45, in forward
    q = q.permute(2, 0, 1, 3).contiguous().view(-1, len_q, d_k)  # (n*b) x lq x dk
RuntimeError: cannot reshape tensor of 0 elements into shape [-1, 0, 32] because the unspecified dimension size -1 can be any value and is ambiguous

I believe it is caused by

mldel/Models.py: line 200~204: # TODO: debug ...

Can you help me take a look into this issue?

Has this problem been solved?

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