Skip to content

Latest commit

 

History

History
41 lines (19 loc) · 1.22 KB

File metadata and controls

41 lines (19 loc) · 1.22 KB

2D Conv Visualization

Repisitory to visualize 2D Convolution.

After running it will output a GIF of each step in the process

Getting Started

Install dependencies

run the following command in your terminal / command line

pip install -r requirements.txt

How to run

in run.py you have an example of running the currently avilable implementations and the output dir the GIF will be saved.

Examples

2D Convolution

Regular Example ( Image 7x7 , Kernel 2x2 , Padding = 0 , Strides = 1)

7x7 image with 2x2 kernel padding=0 strides=1

Strides Example ( Image 7x7 , Kernel 2x2 , Padding = 0 , Strides = 2)

7x7 image with 2x2 kernel padding=0 strides=1

Zero Padding Example ( Image 7x7 , Kernel 2x2 , Padding = 1 , Strides = 1)

7x7 image with 2x2 kernel padding=0 strides=1

Contribution

I would like to get more algorithms in this repository, feel free to make a PR and follow the Stateful and GIFable abstract classes.