File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -755,15 +755,15 @@ def _load_filter_eval_batches(self):
755755        if  pick_sequences :
756756            old_len  =  len (eval_batches )
757757            eval_batches  =  [b  for  b  in  eval_batches  if  b [0 ][0 ] in  pick_sequences ]
758-             logger .warn (
758+             logger .warning (
759759                f"Picked eval batches by sequence/cat: { old_len } { len (eval_batches )}  
760760            )
761761
762762        if  self .exclude_sequences :
763763            old_len  =  len (eval_batches )
764764            exclude_sequences  =  set (self .exclude_sequences )
765765            eval_batches  =  [b  for  b  in  eval_batches  if  b [0 ][0 ] not  in exclude_sequences ]
766-             logger .warn (
766+             logger .warning (
767767                f"Excluded eval batches by sequence: { old_len } { len (eval_batches )}  
768768            )
769769
Original file line number Diff line number Diff line change @@ -304,11 +304,11 @@ def _show_predictions(
304304    assert  isinstance (preds , list )
305305
306306    pred_all  =  []
307-     # Randomly choose a subset of the rendered images, sort by ordr  in the sequence 
307+     # Randomly choose a subset of the rendered images, sort by order  in the sequence 
308308    n_samples  =  min (n_samples , len (preds ))
309309    pred_idx  =  sorted (random .sample (list (range (len (preds ))), n_samples ))
310310    for  predi  in  pred_idx :
311-         # Make the concatentation  for the same camera vertically 
311+         # Make the concatenation  for the same camera vertically 
312312        pred_all .append (
313313            torch .cat (
314314                [
@@ -359,7 +359,7 @@ def _generate_prediction_videos(
359359    vws  =  {}
360360    for  k  in  predicted_keys :
361361        if  k  not  in preds [0 ]:
362-             logger .warn (f"Cannot generate video for prediction key '{ k }  )
362+             logger .warning (f"Cannot generate video for prediction key '{ k }  )
363363            continue 
364364        cache_dir  =  (
365365            None 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments