-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #186 from open-mmlab/zz/stat
New algorithm stat
- Loading branch information
Showing
22 changed files
with
129 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,7 @@ | |
|
||
|
||
def builder_inited_handler(app): | ||
subprocess.run(['./merge_docs.sh']) | ||
subprocess.run(['./stat.py']) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/usr/bin/env bash | ||
|
||
sed -i '$a\\n' ../configs/inpainting/*/*.md | ||
sed -i '$a\\n' ../configs/mattors/*/*.md | ||
sed -i '$a\\n' ../configs/restorers/*/*.md | ||
sed -i '$a\\n' ../configs/synthesizers/*/*.md | ||
|
||
cat ../configs/inpainting/*/*.md >inpainting_models.md | ||
cat ../configs/mattors/*/*.md >mattors_models.md | ||
cat ../configs/restorers/*/*.md >restorers_models.md | ||
cat ../configs/synthesizers/*/*.md >synthesizers_models.md | ||
|
||
sed -i "s/#/#&/" inpainting_models.md | ||
sed -i "s/#/#&/" mattors_models.md | ||
sed -i "s/#/#&/" restorers_models.md | ||
sed -i "s/#/#&/" synthesizers_models.md | ||
|
||
sed -i "s/md###t/html#t/g" inpainting_models.md | ||
sed -i "s/md###t/html#t/g" mattors_models.md | ||
sed -i "s/md###t/html#t/g" restorers_models.md | ||
sed -i "s/md###t/html#t/g" synthesizers_models.md | ||
|
||
sed -i '1i\# Inpainting Models' inpainting_models.md | ||
sed -i '1i\# Matting Models' mattors_models.md | ||
sed -i '1i\# Restoration Models' restorers_models.md | ||
sed -i '1i\# Generation Models' synthesizers_models.md | ||
|
||
sed -i 's/](\/docs\//](/g' inpainting_models.md # remove /docs/ for link used in doc site | ||
sed -i 's/](\/docs\//](/g' mattors_models.md | ||
sed -i 's/](\/docs\//](/g' restorers_models.md | ||
sed -i 's/](\/docs\//](/g' synthesizers_models.md | ||
|
||
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' inpainting_models.md | ||
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' mattors_models.md | ||
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' restorers_models.md | ||
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/master/=g' synthesizers_models.md |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.