Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwenran committed Feb 20, 2023
1 parent 82ed480 commit 285058b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmedit/apis/inferencers/translation_inferencer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def preprocess(self, img: InputsType) -> Dict:
# dirty code to deal with test data pipeline
data = dict()
data['pair_path'] = img
data[f'img_A_path'] = img
data[f'img_B_path'] = img
data['img_A_path'] = img
data['img_B_path'] = img
data = collate([test_pipeline(data)])
data = self.model.data_preprocessor(data, False)

Expand Down

0 comments on commit 285058b

Please sign in to comment.