Skip to content

Commit

Permalink
[Enhancement] support all inpainting models inferencer
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Fran committed Apr 28, 2023
1 parent a2954d6 commit 85b2982
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mmagic/apis/inferencers/inpainting_inferencer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ def visualize(self,
Returns:
List[np.ndarray]: Result of visualize
"""
# import ipdb
# ipdb.set_trace()
result = preds[0].output.pred_img / 255.

result = tensor2img(result)[..., ::-1]
Expand Down

0 comments on commit 85b2982

Please sign in to comment.