1. tf.variable_scope generates a context manager for obtaining variables that have been generated
with tf.variable_scope('pnet'): data = tf.placeholder(tf.float32, (None,None,None,3), 'input') pnet = PNet({'data':data}) pnet.load(os.path.join(model_path, 'det1.npy'), sess)
2.
3.
4.
5.
6.