# How to get feature map from pre-trained Resnet50

**URL:** <https://discuss.pytorch.org/t/how-to-get-feature-map-from-pre-trained-resnet50/86150>\
**Category:** Uncategorized\
**Created:** [June 20, 2020, 7:35am UTC](https://discuss.pytorch.org/t/how-to-get-feature-map-from-pre-trained-resnet50/86150 "2020-06-20T07:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [June 20, 2020, 8:56am UTC](https://discuss.pytorch.org/t/how-to-get-feature-map-from-pre-trained-resnet50/86150/2 "2020-06-20T08:56:54Z")

</div>

You could use forward hooks to get the activation maps as described in [this example](https://discuss.pytorch.org/t/how-can-l-load-my-best-model-as-a-feature-extractor-evaluator/17254/6).

---

_[View the full topic](https://discuss.pytorch.org/t/how-to-get-feature-map-from-pre-trained-resnet50/86150)._
