Commit Graph

171 Commits

Author SHA1 Message Date
bert 512c4e8c95 Tweak animation step a little.
Animation now starts slightly after the start and ends slightly before
the end. This prevents a weird flicker effect in the image like layers.
2018-03-16 14:37:37 +01:00
bert 40a60c02bb Improve CMakeLists.txt 2018-03-16 14:31:48 +01:00
bert c814d274d4 Unify drawing logic into glUtils. 2018-03-16 14:25:14 +01:00
bert c447a496fd Improved visualisation of ReLU on images. 2018-03-13 15:06:48 +01:00
bert 74ecd42abe Show normalization rates in visualisation. 2018-03-13 15:06:40 +01:00
bert 93d4cb4df0 Remove redundant code. 2018-03-13 14:28:00 +01:00
bert e21c7b33e8 Start implementing visualisation for LRN layers. 2018-03-12 17:07:51 +01:00
bert 52e3ab66e1 Add a deduplicated version of the caffenet model. 2018-03-12 13:40:13 +01:00
bert f7f3eb5196 Add a warning for networks with in-place layers. 2018-03-12 13:38:46 +01:00
bert 3cbf1a1281 Create a python script for rewriting in-place layers.
Using in-place layers makes it impossible to see the state of an
individual layer, so this script rewrites them into each having their
own output layer.
2018-03-12 13:36:33 +01:00
bert 38d28c9b7c Implement a simple coloring for ReLU layers.
Note: might not actually work.
2018-03-06 16:11:08 +01:00
bert 7963562717 Create extendable coloring for interactions. 2018-03-06 14:50:02 +01:00
bert 5bf126d9a7 Allow the package to be installed. 2018-03-05 16:58:23 +01:00
bert bc96bb3d76 Clean up CMakeLists. 2018-03-05 16:23:28 +01:00
bert 18306e45b8 Implement basic visualisation for pooling layers. 2018-03-01 16:16:21 +01:00
bert 0b8c05ded9 Unify texture configuration. 2018-02-27 16:04:38 +01:00
bert 7fdce48259 More generalized code.
MultiImageLayer and FlatLayer now use the same code for arranging nodes,
rather than then same logic twice.
2018-02-27 15:32:38 +01:00
bert 2dec364b1b Add debug info in the top left corner. 2018-02-26 15:39:53 +01:00
bert 604d302627 Implement a specialized input visualisation. 2018-02-26 14:37:02 +01:00
bert 17d4e07025 Implement a small texture wrapper.
Allows for RAII use of OpenGL textures.
2018-02-25 19:03:10 +01:00
bert 23ae9717ea Slightly nicer animations. 2018-02-23 17:59:15 +01:00
bert 63b671f54d Use caffe multiplication for efficiency. 2018-02-23 16:05:34 +01:00
bert a8857faa24 Improve performance of animation layers. 2018-02-23 15:51:45 +01:00
bert 99cf0740fe Improve convolutional layer rendering.
Now all n individual images of w×h are packaged as a w×(n×h) image, with
the texture coordinates properly mapped so the individual rectangles
still get the proper texture.

This optimization causes slight glitches around the edges of the tiles,
but is so much faster that I think it's worth it.
2018-02-23 15:19:30 +01:00
bert d5dd49b3d6 Actually show rendered textures for image-like-layers. 2018-02-23 14:00:14 +01:00
bert 86d2b8b48a Implement some visualisation for ReLU layers. 2018-02-22 16:20:59 +01:00
bert 3c5358d8d6 Fix out-of-bounds read on node coordinates. 2018-02-20 12:26:51 +01:00
bert 219e8cbec9 Implement visualisation of dropout layers. 2018-02-19 16:51:18 +01:00
bert 6d64830a46 Revert "Remove unused parameter."
This reverts commit 284d32816f.
2018-02-19 16:26:24 +01:00
bert 1e9cc7c6c5 Generalize animation generation. 2018-02-19 16:23:47 +01:00
bert a7ce0bd265 Implement colors for interaction effects. 2018-02-18 18:52:22 +01:00
bert ed5a71fbf1 Fix from/to calculation. 2018-02-18 18:32:08 +01:00
bert 3f258b1bea Actually send particles in the right direction. 2018-02-18 18:28:29 +01:00
bert 53ef632bdc Actually implement node positions for image-like-layers. 2018-02-18 18:25:43 +01:00
bert 284d32816f Remove unused parameter. 2018-02-18 18:04:07 +01:00
bert c854eb07d2 Range does not need to be sorted. 2018-02-18 17:49:30 +01:00
bert 9d2e7c3104 Optimize activity strength computation. 2018-02-15 18:06:44 +01:00
bert e4336b6757 Actually use the same node positions internally and externally. 2018-02-15 16:07:13 +01:00
bert ea4b5e486a Simplify construction of the activity animation. 2018-02-13 16:42:34 +01:00
bert 230cc5ee76 Extract animation base class.
Skips some complicated computations, so yay.
2018-02-13 15:53:47 +01:00
bert 16665a588a Implement some kind of animation.
The animation is still all wrong, but it is there at least.
2018-02-13 15:41:01 +01:00
bert c033f08d04 Compute a fractional animation step for every frame.
This step is used to interpolate animations.
2018-02-13 11:09:04 +01:00
bert 74cf511436 Slightly more consise. 2018-02-13 11:07:22 +01:00
bert 2192408ef9 Throttle the program to run at max 60fps. 2018-02-12 16:43:21 +01:00
bert 35ad3df4ca Compute the 1000 most interacting nodes in each layer.
This works for fully connected layers only, but it works.
2018-02-12 15:51:50 +01:00
bert 37c6cef733 Move visualiser generation out of main. 2018-02-09 12:27:01 +01:00
bert a84e4e80a2 Clean up on layer visualisations. 2018-02-09 11:55:48 +01:00
bert cf5dd28fef Remove all explicitly typed for loops. 2018-01-22 15:55:32 +01:00
bert ef70f913bf Solve warnings with a magic range class. 2018-01-22 15:06:02 +01:00
bert 1c0235db4d Enable more warnings. 2018-01-22 14:37:44 +01:00