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

Size of the output tensor not properly define #69

Open
leettatt opened this issue Jun 4, 2022 · 0 comments
Open

Size of the output tensor not properly define #69

leettatt opened this issue Jun 4, 2022 · 0 comments
Assignees

Comments

@leettatt
Copy link

leettatt commented Jun 4, 2022

Let's create a dummy input tensor

dummy_input = torch.randn(1, input_size, requires_grad=True)  

ABOVE CAUSE ERROR AS input_size not properly define

Manually changed to below to get it work

dummy_input = torch.randn(1, 3, 32, 32, requires_grad=True)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

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