Skip to content

TypeError: expected Tensor as element 2 in argument 0, but got dict_values #33

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

Open
mqp2259 opened this issue May 2, 2025 · 1 comment

Comments

@mqp2259
Copy link

mqp2259 commented May 2, 2025

Hi,

I encountered this error when I run the evaluation script control_robot.py. Do you have any fix to this?

Image

@mqp2259
Copy link
Author

mqp2259 commented May 2, 2025

Found a fix:

Change

state.append(base_state.values())

To

state.append(torch.tensor(list(base_state.values())))

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