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

bug: expected np.ndarray (got tuple) #47

Open
zhang-qiang-github opened this issue Jun 3, 2024 · 1 comment
Open

bug: expected np.ndarray (got tuple) #47

zhang-qiang-github opened this issue Jun 3, 2024 · 1 comment

Comments

@zhang-qiang-github
Copy link

state = torch.from_numpy(state).float().unsqueeze(0) report this bug.

The input state is:
image

The torch version is: 1.11.0+cu113.

Any suggestion is appreciated~~~

@hawakillue
Copy link

state -> state[0] for me

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