CaffeSpark configuration
the layer index in the network protocol file
batch size
batch size
make a dummy data blob to be used by Solver threads
make a dummy data blob to be used by Solver threads
a dummy data blob
make a dummy data blob to be used by Solver threads
make a dummy data blob to be used by Solver threads
a dummy data blob
initialization of a Source within a process
initialization of a Source within a process
true if successfully initialized
construct a sample RDD
construct a sample RDD
spark context
RDD created from this source
create a batch of samples extracted from source queue
create a batch of samples extracted from source queue
This method is Invoked by Transformer thread. You should extract samples from source queue, parse it and produce a batch.
holder for sample Ids
holder for label blob
true if successful
adjust batch size
SeqImageDataSource is a built-in data source class using sequence file format. Each entry of sequence is a tuple ((id: String, label: String), value : byte[]).