ConvNet
1.0
A GPU-based C++ implementation of Convolutional Neural Nets
|
An iterator over sliding windows of an image dataset. More...
#include <datahandler.h>
Public Member Functions | |
SlidingWindowDataIterator (const config::DataStreamConfig &config) | |
virtual void | GetNext (float *data_out) |
virtual void | Seek (int row) |
Public Member Functions inherited from DataIterator | |
DataIterator (const config::DataStreamConfig &config) | |
void | Preprocess (Matrix &m) |
void | AddNoise (Matrix &input, Matrix &output) |
int | GetDims () const |
int | GetDataSetSize () const |
void | AddPCANoise (Matrix &m) |
void | SetJitterVariables (int max_offset) |
void | Jitter (Matrix &source, Matrix &dest) |
Protected Attributes | |
SlidingWindowIterator < unsigned char > * | it_ |
unsigned char * | buf_ |
vector< string > | file_names_ |
const int | stride_ |
const int | raw_image_size_ |
const int | image_size_ |
int | file_id_ |
Protected Attributes inherited from DataIterator | |
int | num_dims_ |
int | dataset_size_ |
int | row_ |
Matrix | mean_ |
Matrix | std_ |
Matrix | pca_noise1_ |
Matrix | pca_noise2_ |
Matrix | eig_values_ |
Matrix | eig_vectors_ |
Matrix | width_offset_ |
Matrix | height_offset_ |
Matrix | flip_bit_ |
const string | file_pattern_ |
const int | num_colors_ |
const int | gpu_id_ |
const bool | translate_ |
const bool | flip_ |
const bool | normalize_ |
const bool | pixelwise_normalize_ |
const bool | add_pca_noise_ |
const float | pca_noise_stddev_ |
Additional Inherited Members | |
Static Public Member Functions inherited from DataIterator | |
static DataIterator * | ChooseDataIterator (const config::DataStreamConfig &config) |
Protected Member Functions inherited from DataIterator | |
void | LoadMeans (const string &data_file) |
An iterator over sliding windows of an image dataset.