Skip to content

densenet issue #2261

Answered by Balandat
lovecodng asked this question in Q&A
Discussion options

You must be logged in to vote

I guess this is b/c this is based on an old DenseNet implementation. Not sure how to solve this specifically but I guess looking at the current code should be a start: https://github.com/pytorch/vision/blob/main/torchvision/models/densenet.py#L213-L215 (using adaptive_avg_pool2d and dropping the classifier) is what I'd try...

Replies: 1 comment

Comment options

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