Adapter commited on
Commit
132e5ba
·
1 Parent(s): 7194abe

Update demo/model.py

Browse files
Files changed (1) hide show
  1. demo/model.py +1 -1
demo/model.py CHANGED
@@ -378,7 +378,7 @@ class Model_all:
378
  pose_link_color=self.pose_link_color,
379
  radius=2,
380
  thickness=2)
381
- im_keypose_out = im_keypose_out.astype(np.uint8)
382
 
383
  # extract condition features
384
  c = self.base_model.get_learned_conditioning([prompt + ', ' + pos_prompt])
 
378
  pose_link_color=self.pose_link_color,
379
  radius=2,
380
  thickness=2)
381
+ im_keypose_out = im_keypose_out.astype(np.uint8)[:,:,::-1]
382
 
383
  # extract condition features
384
  c = self.base_model.get_learned_conditioning([prompt + ', ' + pos_prompt])