Skip to content

Commit

Permalink
[Fix] Wrong path resulsting in pre-commit error in Python 3.9 (#1488)
Browse files Browse the repository at this point in the history
fix relative path error in `update_model_index.py`
  • Loading branch information
liangzelong authored Nov 30, 2022
1 parent 7e40366 commit c9149b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dev_scripts/update_model_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import mmengine

MMEditing_ROOT = osp.dirname(osp.dirname(osp.dirname(__file__)))
MMEditing_ROOT = osp.dirname(osp.dirname(__file__))

all_training_data = [
'div2k', 'celeba', 'places', 'comp1k', 'vimeo90k', 'reds', 'ffhq', 'cufed',
Expand Down

0 comments on commit c9149b9

Please sign in to comment.