File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -742,7 +742,6 @@ def __init__(
742742                    raise  ValueError (
743743                        f"`--image_column` value '{ args .image_column } { ', ' .join (column_names )}  
744744                    )
745-                     
746745            dataset ["train" ] =  dataset ["train" ].cast_column (image_column , Image (decode = True ))
747746            instance_images  =  dataset ["train" ][image_column ]
748747
@@ -770,7 +769,6 @@ def __init__(
770769
771770            instance_images  =  [Image .open (path ) for  path  in  list (Path (instance_data_root ).iterdir ())]
772771            self .custom_instance_prompts  =  None 
773-         
774772        self .instance_images  =  []
775773        for  img  in  instance_images :
776774            self .instance_images .extend (itertools .repeat (img , repeats ))
@@ -786,7 +784,6 @@ def __init__(
786784            ]
787785        )
788786        for  image  in  self .instance_images :
789-             
790787            image  =  exif_transpose (image )
791788            if  not  image .mode  ==  "RGB" :
792789                image  =  image .convert ("RGB" )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments