yuntian-deng commited on
Commit
00d88d2
·
1 Parent(s): 5a39c97

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -122,7 +122,7 @@ def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List
122
  #if new_frame.shape[:2] != (height, width):
123
  # new_frame = np.array(Image.fromarray(new_frame).resize((width, height)))
124
 
125
- new_frame_denormalized = denormalize_image(new_frame.cpu().numpy(), source_range=(-1, 1))
126
 
127
 
128
  # Draw the trace of previous actions
 
122
  #if new_frame.shape[:2] != (height, width):
123
  # new_frame = np.array(Image.fromarray(new_frame).resize((width, height)))
124
 
125
+ new_frame_denormalized = denormalize_image(new_frame, source_range=(-1, 1))
126
 
127
 
128
  # Draw the trace of previous actions