yuntian-deng commited on
Commit
784f2b6
·
1 Parent(s): db037f3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -65,7 +65,7 @@ def create_position_map(pos, image_size=64, original_width=1024, original_height
65
 
66
  # Create binary position map
67
  pos_map = torch.zeros((1, image_size, image_size))
68
- pos_map[0, y_scaled, x_scaled] = 1.0
69
 
70
  return pos_map, x_scaled, y_scaled
71
 
 
65
 
66
  # Create binary position map
67
  pos_map = torch.zeros((1, image_size, image_size))
68
+ pos_map[0, x_scaled, y_scaled] = 1.0
69
 
70
  return pos_map, x_scaled, y_scaled
71