Pytorch Convis

A tool to visualize convolutional layer activations on an input image.
Alternatives To Pytorch Convis
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Pytorch Handbook17,988
7 days ago50Jupyter Notebook
pytorch handbook是一本开源的书籍,目标是帮助那些希望和使用PyTorch进行深度学习开发和研究的朋友快速入门,其中包含的Pytorch教程全部通过测试保证可以成功运行
Easyocr17,4363715 hours ago30June 02, 2022195apache-2.0Python
Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
Screenshot To Code13,951
10 months ago17otherHTML
A neural network that transforms a design mock-up into a static website.
Fashion Mnist9,856
a year ago24mitPython
A MNIST-like fashion product database. Benchmark :point_down:
Computervision Recipes8,817
2 months ago65mitJupyter Notebook
Best Practices, code samples, and documentation for Computer Vision.
Deeplearning7,463
a year ago8apache-2.0Jupyter Notebook
深度学习入门教程, 优秀文章, Deep Learning Tutorial
Leedl Tutorial7,392
a month ago3otherJupyter Notebook
《李宏毅深度学习教程》,PDF下载地址:https://github.com/datawhalechina/leedl-tutorial/releases
Pytorch Tutorial7,372
7 days ago28mitJupyter Notebook
Build your neural network easy and fast, 莫烦Python中文教学
Cnn Explainer6,389
a month agomitJavaScript
Learning Convolutional Neural Networks with Interactive Visualization.
Techniques6,100
3 days ago1apache-2.0
Techniques for deep learning with satellite & aerial imagery
Alternatives To Pytorch Convis
Select To Compare


Alternative Project Comparisons
Readme

convis

A tool to visualize convolutional, ReLU, and pooling layer activations on an input image. This is a PyTorch implementation of htoyryla's convis.

An output image from a single channel (left), and a layer heatmap (right):

Dependencies:

Setup:

After installing the dependencies, you'll need to run the following script to download the default VGG and NIN models:

python models/download_models.py

You can also place convis.py or convis_heatmap.py in your neural-style-pt directory, in order to more easily work with models and input images.

Usage:

convis.py will create an output image for every channel in the specified layer:

python convis.py -input_image examples/inputs/tubingen.jpg -model_file models/vgg19-d01eb7cb.pth -layer conv2_2 -output_dir output

convis_heatmap.py will create a single output image composed of every channel in the specified layer:

python convis_heatmap.py -input_image examples/inputs/tubingen.jpg -model_file models/vgg19-d01eb7cb.pth -layer relu4_2

Parameters:

  • -input_image: Path to the input image.
  • -image_size: Maximum side length (in pixels) of the generated image. Default is 512.
  • -layer: The target layer. Default is relu4_2
  • -pooling: The type of pooling layers to use; one of max or avg. Default is max.
  • -model_file: Path to the .pth file for the VGG or NIN model.
  • -output_image: Name of the output image. Default is out.png.
  • -output_dir: Name of the output image directory. Default is output.

The output files will be named like output/tubingen-conv3_2-69.png

Popular Convolutional Neural Networks Projects
Popular Machine Learning Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Machine Learning
Pytorch
Visualization
Convolutional Neural Networks
Visualisation
Vgg
Heatmap