File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99
1010url_prefix = 'https://github.com/open-mmlab/mmsegmentation/blob/master/'
1111
12- files = sorted (glob .glob ('../configs/*/README.md' ))
12+ files = sorted (glob .glob ('../../ configs/*/README.md' ))
1313
1414stats = []
1515titles = []
1616num_ckpts = 0
1717
1818for f in files :
19- url = osp .dirname (f .replace ('../' , url_prefix ))
19+ url = osp .dirname (f .replace ('../../ ' , url_prefix ))
2020
2121 with open (f , 'r' ) as content_file :
2222 content = content_file .read ()
Original file line number Diff line number Diff line change 99
1010url_prefix = 'https://github.com/open-mmlab/mmsegmentation/blob/master/'
1111
12- files = sorted (glob .glob ('../configs/*/README.md' ))
12+ files = sorted (glob .glob ('../../ configs/*/README.md' ))
1313
1414stats = []
1515titles = []
1616num_ckpts = 0
1717
1818for f in files :
19- url = osp .dirname (f .replace ('../' , url_prefix ))
19+ url = osp .dirname (f .replace ('../../ ' , url_prefix ))
2020
2121 with open (f , 'r' ) as content_file :
2222 content = content_file .read ()
You can’t perform that action at this time.
0 commit comments