Module Import alias identifier Import alias Import alias identifier Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return ListLoad Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad Num Num Num Str Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr IfExp NameLoad Num Num Assign NameStore BinOpSub BinOpDiv NameLoad Num Num Assign NameStore Call NameLoad Str NameLoad Num Num keyword Str Assign NameStore Call NameLoad Str NameLoad Num keyword Str Assign NameStore Call NameLoad Str NameLoad Num Num keyword Str Assign NameStore Call NameLoad Str NameLoad Num Num keyword Str Assign NameStore Call NameLoad Str NameLoad Num keyword Str Assign NameStore Call NameLoad Str NameLoad Num Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad Str NameLoad Num keyword Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str NameLoad keyword Num keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call NameLoad Str Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad ListLoad TupleLoad Str ListLoad Str Str Return Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Num keyword NameLoad Assign NameStore Call NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Call NameLoad keyword BinOpMult Call AttributeLoad NameLoad attr Num keyword Num keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call NameLoad keyword NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Call NameLoad ListLoad Call NameLoad Call NameLoad Call NameLoad NameLoad ListLoad Call NameLoad Str Call NameLoad keyword NameLoad keyword Call NameLoad keyword NameLoad keyword Num decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str With Call AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call NameLoad NameLoad attr
N/A N/A tensorflow tf N/A argparse N/A numpy np N/A os tensorpack.train TrainConfig QueueInputTrainer tensorpack.models * tensorpack.callbacks * tensorpack.utils * tensorpack.tfutils * tensorpack.tfutils.symbolic_functions * tensorpack.tfutils.summary * tensorpack.dataflow * tensorpack.dataflow imgaug N/A 
SVHN convnet.
About 3.0% validation error after 70 epoch.  2.5% after 130 epoch.
 Model N/A ModelDesc N/A _get_input_vars N/A N/A self N/A N/A N/A N/A N/A InputVar N/A tf float32 N/A None 40 40 3 input N/A InputVar N/A tf int32 N/A None label N/A _get_cost N/A N/A self input_vars is_training N/A N/A N/A N/A image label input_vars N/A keep_prob N/A N/A tf constant N/A is_training 0.5 1.0 N/A image N/A N/A image 128.0 1 N/A l N/A Conv2D conv1 image 24 5 padding VALID N/A l N/A MaxPooling pool1 l 2 padding SAME N/A l N/A Conv2D conv2 l 32 3 padding VALID N/A l N/A Conv2D conv3 l 32 3 padding VALID N/A l N/A MaxPooling pool2 l 2 padding SAME N/A l N/A Conv2D conv4 l 64 3 padding VALID N/A l N/A N/A N/A tf nn dropout l keep_prob N/A l N/A FullyConnected fc0 l 512 b_init N/A N/A tf constant_initializer 0.1 N/A logits N/A FullyConnected linear l out_dim 10 nl N/A tf identity N/A prob N/A N/A N/A tf nn softmax logits name output N/A cost N/A N/A N/A tf nn sparse_softmax_cross_entropy_with_logits logits label N/A cost N/A N/A tf reduce_mean cost name cross_entropy_loss N/A N/A N/A tf add_to_collection MOVING_SUMMARY_VARS_KEY cost N/A wrong N/A prediction_incorrect logits label N/A nr_wrong N/A N/A tf reduce_sum wrong name wrong N/A N/A N/A tf add_to_collection MOVING_SUMMARY_VARS_KEY N/A N/A tf reduce_mean wrong name train_error N/A wd_cost N/A regularize_cost fc.*/W N/A l2_regularizer 1e-05 N/A N/A N/A tf add_to_collection MOVING_SUMMARY_VARS_KEY wd_cost N/A N/A add_param_summary N/A N/A .*/W N/A histogram sparsity N/A N/A N/A tf add_n N/A cost wd_cost name cost N/A N/A get_config N/A N/A N/A N/A N/A d1 N/A N/A dataset SVHNDigit train N/A d2 N/A N/A dataset SVHNDigit extra N/A train N/A RandomMixData N/A d1 d2 N/A test N/A N/A dataset SVHNDigit test N/A augmentors N/A N/A N/A imgaug Resize N/A 40 40 N/A N/A imgaug Brightness 30 N/A N/A imgaug Contrast N/A 0.5 1.5 N/A N/A imgaug GaussianDeform N/A N/A 0.2 0.2 N/A 0.2 0.8 N/A 0.8 0.8 N/A 0.8 0.2 N/A 40 40 0.2 3 N/A train N/A AugmentImageComponent train augmentors N/A train N/A BatchData train 128 N/A nr_proc 5 N/A train N/A PrefetchData train 5 nr_proc N/A step_per_epoch N/A N/A train size N/A augmentors N/A N/A N/A imgaug Resize N/A 40 40 N/A test N/A AugmentImageComponent test augmentors N/A test N/A BatchData test 128 remainder True N/A sess_config N/A get_default_sess_config 0.8 N/A lr N/A N/A N/A tf train exponential_decay learning_rate 0.001 global_step N/A get_global_step_var decay_steps N/A N/A N/A train size 60 decay_rate 0.2 staircase True name learning_rate N/A N/A N/A tf scalar_summary learning_rate lr N/A N/A TrainConfig dataset train optimizer N/A N/A N/A tf train AdamOptimizer lr callbacks N/A Callbacks N/A N/A StatPrinter N/A ModelSaver N/A InferenceRunner dataset_test N/A N/A ScalarStats cost N/A ClassificationError session_config sess_config model N/A Model step_per_epoch step_per_epoch max_epoch 350 N/A N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser N/A N/A N/A parser add_argument --gpu help comma separated list of GPU(s) to use. N/A N/A N/A parser add_argument --load help load model N/A args N/A N/A parser parse_args N/A basename N/A N/A N/A os path basename __file__ N/A N/A N/A logger set_logger_dir N/A N/A N/A os path join train_log N/A basename N/A N/A N/A basename rfind . N/A N/A args gpu N/A N/A N/A N/A os environ N/A CUDA_VISIBLE_DEVICES N/A args gpu N/A N/A N/A N/A os environ N/A CUDA_VISIBLE_DEVICES 0 N/A N/A N/A N/A N/A tf Graph as_default N/A N/A config N/A get_config N/A N/A args load N/A N/A N/A config session_init N/A SaverRestore N/A args load N/A N/A args gpu N/A N/A N/A config nr_tower N/A len N/A N/A N/A args gpu split , N/A N/A N/A N/A QueueInputTrainer config train