Skip to content

AssertionError: cycle-free graph violated: partition depends on itself #495

Answered by nhma20
danielflood asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this can happen if the feature dimension going into a maxpool layer (size=2, stride=2) is not divisible by 2:
Input image size 32x32: 32 (padded conv2d) 32 (maxpool) 16 (padded conv2d) 16 (maxpool) 8 ... (Good)
Input image size 30x30: 30 (padded conv2d) 30 (maxpool) 15 (padded conv2d) 15 (maxpool) 7? (Bad?)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@danielflood
Comment options

Answer selected by danielflood
Comment options

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