← Back

ofxCnnHelpers

github.com/Kajiyu/ofxCnnHelpers · @Kajiyu
OF 0.9 Machine Learning Algorithms

Utility classes for handling ConvNet data, such as per-layer filter density values.

1 0 Last commit 9y ago Created 9y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

enhance/example_3d_filters 1 commit ahead · last commit 9y ago

README

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

Get this addon

HTTPS
SSH