3 from __future__
import absolute_import
4 from __future__
import division
5 from __future__
import print_function
6 from __future__
import unicode_literals
8 def db_input(model, blobs_out, batch_size, db, db_type):
9 dbreader_name =
"dbreader_" + db
10 dbreader = model.param_init_net.CreateDB(
16 return model.net.TensorProtosDBInput(
17 dbreader, blobs_out, batch_size=batch_size)