Created
September 14, 2017 09:15
-
-
Save guoxiaolu/2ed546e1e88d27afd82e6e1442b8d7a9 to your computer and use it in GitHub Desktop.
how to use dot to output an image
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
digraph G{ | |
node [shape=record] | |
a[label="ResNet50|{input:|output:}|{(224, 224, 3)|(2048)}"] | |
b[label="InceptionV3|{input:|output:}|{(299, 299, 3)|(2048)}"] | |
#c[label="Xception|{input:|output:}|{(299, 299, 3)|(2048)}"] | |
Merge[label="Merge|{input:|output:}|{(2, 2048)|(4096)}"] | |
Dropout[label="Dropout|Rate:|0.5"] | |
Output[label="Output|{input:|output:}|{(4096)|(365)}"] | |
Image -> a -> Merge | |
Image -> b -> Merge | |
#Image -> c -> Merge | |
Merge -> Dropout -> Output | |
} | |
save it as .dot file | |
dot -Tpng -o ./test.jpg graph.dot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment