Computer Vision News - January 2022
21 Drawing Neural Networks #conv5 to_ConvConvRelu( name=’cr5’, s_filer= 512 , n_filer=(“14”,”14”,”14”), off- set=”(2,0,0)”, to=”(p4-east)”, width=( 4 , 4 , 4 ), height= 21 , depth= 21 , caption=”- conv5”), to_Conv(“cr5-bis”, 512 , 14 , offset=”(0,0,0)”, to=”(cr5-east)”, height= 21 , depth= 21 , width= 4 ), to_Pool(name=”p5”, offset=”(0,0,0)”, to=”(cr5-bis-east)”, width= 1 , height= 10 , depth= 10 , opacity= 0.5 ), #fc1 to_FullyConnected(name=”fc1”, s_filer= 4096 , offset=”(3,0,0)”, to=”(p5-east)”, width= 1 , height= 1 , depth= 100 , caption=”fc6” ), #fc2 to_FullyConnected(name=”fc2”, s_filer= 4096 , offset=”(1.25,0,0)”, to=”(fc1- east)”, width= 1 , height= 1 , depth= 100 , caption=”fc7” ), #fc3 to_FullyConnected(name=”fc3”, s_filer= 1000 , offset=”(1.25,0,0)”, to=”(fc2- east)”, width= 1 , height= 1 , depth= 30 , caption=”fc8+softmax” ), to_SoftMax(“softmax”, s_filer= 1000 , offset=”(0,0,0)”, to=”(fc3-east)”, width= 1 , height= 1 , depth= 30 , opacity= 0.8 , caption=”” ), to_connection(“p1”, “cr2”), to_connection(“p2”, “cr3”), to_connection(“p3”, “cr4”), to_connection(“p4”, “cr5”), to_connection( “p5”, “fc1”), to_connection( “fc1”, “fc2”), to_connection( “fc2”, “fc3”), to_end() ] def main (): namefile = st r(sys.argv[ 0 ]).split(‘.’)[ 0 ] to_generate(arch, namefile + ‘.tex’ ) if __name__ == ‘__main__’: main()
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=