Skip to content

Commit

Permalink
fix img path
Browse files Browse the repository at this point in the history
  • Loading branch information
HIT-cwh committed Oct 22, 2022
1 parent 418ba19 commit 1a828b1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_engine/test_hooks/test_visualization_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@


def get_data_info(idx):
return {
'img_path':
r'G:\projects\openmmlab\mmrazor\tools\visualizations\demo.jpg'
}
return {'img_path': '../../../tools/visualizations/demo.jpg'}


class ToyModel(BaseModel):
Expand Down

0 comments on commit 1a828b1

Please sign in to comment.