Traceback (most recent call last):


 "train_nets.py", line 77, in <module>

net = get_resnet(images, args.net_depth, type='ir', w_init=w_init_method, trainable=True, keep_rate=dropout_rate)


 "/home/ai/InsightFace_TF/nets/L_Resnet_E_IR_fix_issue9.py", line 399, in get_resnet

scope='resnet_v1_%d' % num_layers)


 "/home/ai/InsightFace_TF/nets/L_Resnet_E_IR_fix_issue9.py", line 301, in resnet

net = BatchNormLayer(net, act=tf.identity, name='bn0', is_train=True, trainable=trainable)


 "/home/ai/InsightFace_TF/nets/L_Resnet_E_IR_fix_issue9.py", line 110, in __init__

Layer.__init__(self, name=name)


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/deprecation.py", line 24, in wrapper

return f(*args, **kwargs)
TypeError: __init__() takes at least 2 arguments (2 given)

Traceback (most recent call last):


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/pathlist.py", line 767, in on_double_click

self.fn_do_menu_command([item.get_full_path(path_idx)], None)


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/pipelinecontroller.py", line 1542, in on_pathlist_file_command

self.on_pathlist_show()


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/pipelinecontroller.py", line 1654, in on_pathlist_show

show_image(paths[0], self.__frame)


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/figure.py", line 252, in show_image

subplots=(1, 1))


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/figure.py", line 349, in __init__

self.create_toolbar()


 "/Users/mcquin/code/CellProfiler/CellProfiler/cellprofiler/gui/figure.py", line 429, in create_toolbar

self.navtoolbar = NavigationToolbar(self.figure.canvas)
TypeError: __init__() takes exactly 1 argument (2 given)
