Commit Graph

151 Commits

Author SHA1 Message Date
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
bert aeccd2b772 Add new animation class. 2018-01-22 14:05:35 +01:00
bert c45a684d39 Remove unused code. 2018-01-22 13:51:08 +01:00
bert 8bef347d05 Unify some functions in utils. 2018-01-18 14:43:13 +01:00
bert 51315f1c59 change placeholder color for better visibility. 2018-01-18 12:32:40 +01:00
bert 4dd9141399 Fix not actually checking the results. 2018-01-18 12:05:52 +01:00
bert 501fea611f Implement node positions for animations. 2018-01-17 16:59:28 +01:00
bert 42c05c4fff Proper float conversion, I guess… 2018-01-17 15:26:46 +01:00
bert aa79287c25 Implement an alternative way of structuring nodes. 2018-01-04 16:43:51 +01:00
bert 5fc392ae1d Add second test image. 2018-01-04 16:42:24 +01:00
bert cb16b2f794 More consistent data loading. 2018-01-02 16:35:41 +01:00
bert 5f81f0cec2 Use the new layer info data in the simulator. 2018-01-02 16:31:55 +01:00
bert 470399aabf Implement a new layer data type.
Contrary to layerdata, this describes the layer itself rather than the
layer contents.
2018-01-02 16:17:07 +01:00
bert 5c0dbcdaa4 Slight performance improvement. 2018-01-02 12:38:34 +01:00
bert 94ee38efb2 Bugfix: fix incorrect orientation of small image-like layers. 2017-12-01 14:54:04 +01:00
bert 259e809c2f Refactor vertex positioning to separate function. 2017-12-01 14:50:58 +01:00
bert a75a435bc5 Restructure texture handling. 2017-11-27 13:59:41 +01:00
bert 3231e078b3 Add entities for convolutional layers. 2017-11-27 12:25:56 +01:00
bert 8fb01fb346 Implement switching between images. 2017-11-27 11:59:41 +01:00
bert f4c8574519 Remove vertical movement while strafing. 2017-11-23 16:30:40 +01:00
bert d69e2771fc Remove spurious debug output. 2017-11-23 16:20:13 +01:00