• Qiaofei Li's avatar
    Supports brightness and contrast augmentations (#546) · a0cc5a84
    Qiaofei Li authored
    * add brightness and contrast augmentation
    
    * remove unnecessary
    
    * reformat
    
    * relax the precision constrain for adjust_brightness aug
    
    * fix percision assertion error in unit test
    
    * remove toy
    
    * rename alpha as factor
    
    * use np.testing.assert_allclose in place of np.less_equal
    a0cc5a84
test_photometric.py 8.59 KB