in ()
6 sess = tf.Session()
7 tf.get_default_graph()
----> 8 saver = tf.train.import_meta_graph(os.path.join(args.weightspath, args.metaname))
9 saver.restore(sess, os.path.join(args.weightspath, args.ckptname))
8 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saving/saveable_object_util.py in op_list_to_dict(op_list, convert_variable_to_tensor)
297 if name in names_to_saveables:
298 raise ValueError("At least two variables have the same name: %s" %
--> 299 name)
300 names_to_saveables[name] = var
301
ValueError: At least two variables have the same name: batch_normalization_1/beta
ValueError Traceback (most recent call last)