Created
July 9, 2019 03:22
-
-
Save moskomule/4e20407750addad34683eeb1d6b33f59 to your computer and use it in GitHub Desktop.
shell
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
cat results/*/*.json | grep -o -E 'args": "[^"]+' | grep -o -E '\-\-loss.*' >f1.txt | |
cat results/*/*.json | grep -o -E 'args": "[^"]+' | grep -o -E '\-\-dataset[^\-]+' > f2.txt | |
cat results/*/*.json | grep -o -E 'miou_test": \[\[[^"]+' | grep -o -E '29, [^]]+' > f3.txt | |
paste f1.txt f2.txt f3.txt | sed -e 's/--loss/|/g' | sed -e 's/--batch_size/|/g' | sed -e 's/29,/|/g'| sed -e 's/--dataset/|/g' | sort | |
# | |
# | ce | 1 | sbd | 0.7214421629905701 | |
# | ce | 1 | voc | 0.6946691870689392 | |
# | ce | 2 | sbd | 0.7422053217887878 | |
# | ce | 2 | voc | 0.7283321619033813 | |
# | ce | 4 | sbd | 0.7555468678474426 | |
# | ce | 4 | voc | 0.738434374332428 | |
# | lovasz | 1 | sbd | 0.44610077142715454 | |
# | lovasz | 1 | sbd | 0.4744608402252197 | |
# | lovasz | 2 | sbd | 0.6456656455993652 | |
# | lovasz | 2 | sbd | 0.6514649391174316 | |
# | lovasz | 2 | voc | 0.588422417640686 | |
# | lovasz | 4 | sbd | 0.6558359265327454 | |
# | lovasz | 4 | sbd | 0.6839529275894165 | |
# | lovasz | 4 | voc | 0.46898722648620605 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment