@spanev

  
      github.com
  
  
    makslevental/atlas_sr/blob/master/data_utils/dali.py#L186

    ):
        super(SRGANMXNetPipeline, self).__init__(
            batch_size,
            num_threads,
            device_id,
            crop,
            upscale_factor,
            image_type,
            dali_cpu,
        )
        self.input = ops.MXNetReader(
            path=[mx_path],
            index_path=[mx_index_path],
            random_shuffle=random_shuffle,
            shard_id=device_id,
            num_shards=num_gpus,
        )




class SRGANFilePipeline(SRGANPipeline):
    def __init__(



  
  
    
    
  
  


@spanev since it looks like you work for on DALI: can you tell me why the operators aren’t more orthogonal? for example I really would like to be able to normalize without cropping, to change imagetypes outside of the decoder, or resize but after crop (i.e. I’d like to use decoder, crop, and resize independently of one another but I can’t because resize expects uint8). I’m not complaining (thanks for the toolkit!) I’m just wondering if it’s something having to do with how the cuda kernels are compiled or it’s just a design choice.