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

dimension error #3

Open
rajeswar18 opened this issue Mar 28, 2022 · 0 comments
Open

dimension error #3

rajeswar18 opened this issue Mar 28, 2022 · 0 comments

Comments

@rajeswar18
Copy link

Running the code throws a run-time error. Any help on how to resolve this, please?

Traceback (most recent call last):
File "main.py", line 311, in
prediction = onestep_models[mdl](input_state, input_action)
File "/mnt/home/plan2explore-pytorch/models.py", line 96, in call
x = torch.cat([prev_state, prev_action], dim=-1) #torch.Size([49, 50, 30]) torch.Size([49, 50, 6])
RuntimeError: Sizes of tensors must match except in dimension 0. Got 50 and 49

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

1 participant