pt.darts icon indicating copy to clipboard operation
pt.darts copied to clipboard

how to use the visualize.py

Open try-gx opened this issue 3 years ago • 1 comments

can i just use the visualize.py to draw the cell?

try-gx avatar Nov 10 '21 14:11 try-gx

Just install graphviz with apt-get install and then pip install, and type something like this:

python visualize.py "Genotype( normal=[[('sep_conv_3x3', 0), ('dil_conv_5x5', 1)], [('skip_connect', 0), ('dil_conv_3x3', 2)], [('sep_conv_3x3', 1), ('skip_connect', 0)], [('sep_conv_3x3', 1), ('skip_connect', 0)]], normal_concat=range(2, 6), reduce=[[('max_pool_3x3', 0), ('max_pool_3x3', 1)], [('max_pool_3x3', 0), ('skip_connect', 2)], [('skip_connect', 3), ('max_pool_3x3', 0)], [('skip_connect', 2), ('max_pool_3x3', 0)]], reduce_concat=range(2, 6))"

it worked for me :}

geantrindade avatar Aug 23 '22 13:08 geantrindade