8e516b73e2839afbff2ac9c063adf99264bf76ba,lib/MNIterator.py,MNIterator,__init__,#MNIterator#,4

Before Change


	            batch_size      = batch_size,
	            data_shape      = (3,1000,1000),
	            mean_r          = pixel_mean[2],
	            mean_g          = pixel_mean[1],
	            mean_b          = pixel_mean[0],
	            preprocess_threads = threads,
	            resize_mode     = "force")

After Change


        self.batch_size = batch_size
        self.pixel_mean = pixel_mean

        self.thread_pool = ThreadPool(threads)
        self.data_name = ["data", "rois"]
        self.label_name = ["label", "bbox_target", "bbox_weight"]
        self.n_per_gpu = batch_size / nGPUs
        self.batch = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mahyarnajibi/SNIPER
Commit Name: 8e516b73e2839afbff2ac9c063adf99264bf76ba
Time: 2018-02-10
Author: najibi@vulcan12.umiacs.umd.edu
File Name: lib/MNIterator.py
Class Name: MNIterator
Method Name: __init__


Project Name: geometalab/OSMDeepOD
Commit Name: 285dc85691241532cd976e04a089f409e44d7493
Time: 2016-08-12
Author: samuel.kurath@gmail.com
File Name: src/detection/tensor/detector.py
Class Name: Detector
Method Name: detect_multiple


Project Name: openeventdata/mordecai
Commit Name: 580af77a96d8c6b306ad4425eafd7768df00338a
Time: 2018-06-27
Author: ahalterman0@gmail.com
File Name: mordecai/geoparse.py
Class Name: Geoparser
Method Name: geoparse