MisaOgura / flashtorch

Visualization toolkit for neural networks in PyTorch! Demo -->
https://youtu.be/18Iw4qYqfPo
MIT License
734 stars 87 forks source link

How can I use FlashTorch to see what the EfficientNet learn? #24

Closed ChenXiao61 closed 4 years ago

ChenXiao61 commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

MisaOgura commented 4 years ago

@ChenXiao61 The pre-trained EfficientNet models are available from https://github.com/lukemelas/EfficientNet-PyTorch#loading-pretrained-models

Once you install the package and follow the instruction to load a model, you should be able to use it with the Backprop class to create saliency maps like any other models loaded from torchvision.models.