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

1-d tensor not handled correctly? #1

Open
ZuowenWang0000 opened this issue Apr 18, 2022 · 0 comments
Open

1-d tensor not handled correctly? #1

ZuowenWang0000 opened this issue Apr 18, 2022 · 0 comments

Comments

@ZuowenWang0000
Copy link
Member

hi is this line correct? should it be pdict_out[key] = pdict_out[key].reshape(pdict_out[key].shape[0], -1).
I am having a shape (30,) tensor as the network output.

pdict_out[key] = np.reshape(pdict_out[key].shape[0], -1)

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