Skip to content
Discussion options

You must be logged in to vote

The problem was in spatial sizes. I should not have supplied channel dimension. Instead of

                spatial_size=(-1, 32, 32),
                max_spatial_size=(-1, 64, 128),

this works (in the sense that it does not crash):

                spatial_size=(32, 32),
                max_spatial_size=(64, 128),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dzenanz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant