da03 commited on
Commit
d0185ca
·
1 Parent(s): bf26394
Files changed (1) hide show
  1. main.py +4 -2
main.py CHANGED
@@ -230,9 +230,11 @@ def predict_next_frame(previous_frames: List[np.ndarray], previous_actions: List
230
  x, y = pos
231
  #norm_x = int(round(x / 256 * 1024)) #x + (1920 - 256) / 2
232
  #norm_y = int(round(y / 256 * 640)) #y + (1080 - 256) / 2
 
 
233
  if True and DEBUG_TEACHER_FORCING:
234
- norm_x = x + (1920 - 512) / 2
235
- norm_y = y + (1080 - 512) / 2
236
  #if DEBUG:
237
  # norm_x = x
238
  # norm_y = y
 
230
  x, y = pos
231
  #norm_x = int(round(x / 256 * 1024)) #x + (1920 - 256) / 2
232
  #norm_y = int(round(y / 256 * 640)) #y + (1080 - 256) / 2
233
+ norm_x = x + (1920 - 512) / 2
234
+ norm_y = y + (1080 - 512) / 2
235
  if True and DEBUG_TEACHER_FORCING:
236
+ norm_x = x #+ (1920 - 512) / 2
237
+ norm_y = y #+ (1080 - 512) / 2
238
  #if DEBUG:
239
  # norm_x = x
240
  # norm_y = y