Ejemplo n.º 1
0
 def calc_eval_siamese_batches(self):
     self.unique_ids = data.calc_unique_ids(self.all_output_data)
     self.siamese_eval_input_left, self.siamese_eval_input_right, self.siamese_eval_output_batches, self.siamese_eval_left_idx, self.siamese_eval_right_idx = data.calc_siamese_batches(
         self.eval_input_data,
         self.eval_output_data,
         self.unique_ids,
         self.num_eval_batches,
         self.batch_size,
         reshape=False)
Ejemplo n.º 2
0
 def calc_train_siamese_batches(self):
     self.unique_ids = data.calc_unique_ids(self.all_output_data)
     self.siamese_train_input_batches_left, self.siamese_train_input_batches_right, self.siamese_train_output_batches, self.siamese_train_left_idx, self.siamese_train_right_idx = data.calc_siamese_batches(
         self.train_input_data, self.train_output_data, self.unique_ids,
         self.num_train_batches, self.batch_size)