svjack commited on
Commit
7d4ee5a
1 Parent(s): 705b9d0

Update pred_color.py

Browse files
Files changed (1) hide show
  1. pred_color.py +2 -2
pred_color.py CHANGED
@@ -70,8 +70,8 @@ def conditioning_from_landmarks(landmarks, size=512):
70
 
71
  fig.canvas.draw()
72
  buffer, (width, height) = fig.canvas.print_to_buffer()
73
- assert width == height
74
- assert width == size
75
 
76
  buffer = np.frombuffer(buffer, np.uint8).reshape((height, width, 4))
77
  buffer = buffer[:, :, 0:3]
 
70
 
71
  fig.canvas.draw()
72
  buffer, (width, height) = fig.canvas.print_to_buffer()
73
+ #assert width == height
74
+ #assert width == size
75
 
76
  buffer = np.frombuffer(buffer, np.uint8).reshape((height, width, 4))
77
  buffer = buffer[:, :, 0:3]