Skip to content
No description, website, or topics provided.
C Objective-C C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example_2d_images
example_3d_curves
example_3d_filters
example_3d_graphs
example_3d_layers
src
.gitignore
README.md
addons.make

README.md

ofxCnnHelpers

This addon is composed of some util classes which make easy to deal with datas about ConvNet.

Usage

ofxCnnDensitiesDataSource

This class is a data manager of densities of pixels in conv-filters, in each layer.
The below struct is a base information about a conv-layer

struct DensityLayer {
    string layerName;
    int filtersNum = 0;
    vector<float> density_values;
};

You can use like that.

ofxCnnDensitiesDataSource densityDataSource;
vector<DensityLayer> layers;

void ofApp::setup(){
  densityDataSource.setup("");
  densityDataSource.start("tcp://127.0.0.1:9001");
}

void ofApp::update(){
    densityDataSource.update();
    layers = densityDataSource.getDensityDatas();
}

Dependent Addons

  • ofxJSON
  • ofxZmq
  • ofxCereal
You can’t perform that action at this time.