Skip to content

Instantly share code, notes, and snippets.

Avatar
😃
Focusing

Avik Pal avik-pal

😃
Focusing
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am avik-pal on github.
  • I am avikpal (https://keybase.io/avikpal) on keybase.
  • I have a public key ASAO4jnq8NTkcyXfyHvWCEeTYsU1k9NlfhG7eSFCz5MVbgo

To claim this, I am signing this object:

View Manifest.toml
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "380e36c66edfa099cd90116b24c1ce8cafccac40"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.4.1"
[[AbstractTrees]]
deps = ["Markdown", "Test"]
@avik-pal
avik-pal / triangle_coordinates.jl
Last active May 15, 2019
Optimizing the triangle coordinates using RayTracer.jl
View triangle_coordinates.jl
using RayTracer, Zygote, Flux, Images, Statistics, LinearAlgebra
# Convenience Functions
function create_and_save(color, val)
img = get_image(color, screen_size.w, screen_size.h)
save("images/triangle_$(val).jpg", img)
end
# Define the Original Scene Parameters
@avik-pal
avik-pal / cnnvisualize.ipynb
Created Aug 18, 2018
Demo showing the use of CNNVisualize.jl
View cnnvisualize.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@avik-pal
avik-pal / benchmarks.md
Last active May 30, 2018
Benchmarks for Seperable Convolutions in NNlib.jl
View benchmarks.md

Benchmarks for Separable Convolutions in NNlib.jl

NOTE: All the times mentioned are in seconds and only the forward passes are being considered. The reported time is the mean of time for ten iterations.
NOTE: Separable Convolutions => Depthwise Convolution --> Pointwise Convolution. The reverse is also a popular alternative but it might end up taking more time
Input Dimensions Output Dimensions Separable Convolutions Convolutions
32x32x3x1 32x32x32x1 0.000673 0.000910
32x32x64x1 0.001390 0.001698