You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "Code\core\train_auto_encoder_1.py", line 178, in
train()
File "Code\core\train_auto_encoder_1.py", line 153, in train
utility.freeze_model(sess,logs_path,tf.train.latest_checkpoint(logs_path),cae,"encoder_train.pb",cs.ENCODER1_FREEZED_PB_NAME)
File "Code\utils\utility.py", line 35, in freeze_model
freeze_graph.freeze_graph(input_graph_path,
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\tools\freeze_graph.py", line 346, in freeze_graph
return freeze_graph_with_def_protos(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\tools\freeze_graph.py", line 189, in freeze_graph_with_def_protos
saver = saver_lib.Saver(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 836, in init
self.build()
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 848, in build
self._build(self._filename, build_save=True, build_restore=True)
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 876, in _build
self.saver_def = self._builder._build_internal( # pylint: disable=protected-access
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 489, in _build_internal
saveables = saveable_object_util.validate_and_slice_inputs(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 362, in validate_and_slice_inputs
for converted_saveable_object in saveable_objects_for_op(op, name):
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 223, in saveable_objects_for_op
yield ResourceVariableSaveable(variable, "", name)
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 95, in init
self.handle_op = var.op.inputs[0]
IndexError: tuple index out of range
getting this error after running train_auto_encoder_1.py
and after updating every tensorflow v1 to v2
any ideas?
The text was updated successfully, but these errors were encountered:
File "Code\core\train_auto_encoder_1.py", line 178, in
train()
File "Code\core\train_auto_encoder_1.py", line 153, in train
utility.freeze_model(sess,logs_path,tf.train.latest_checkpoint(logs_path),cae,"encoder_train.pb",cs.ENCODER1_FREEZED_PB_NAME)
File "Code\utils\utility.py", line 35, in freeze_model
freeze_graph.freeze_graph(input_graph_path,
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\tools\freeze_graph.py", line 346, in freeze_graph
return freeze_graph_with_def_protos(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\tools\freeze_graph.py", line 189, in freeze_graph_with_def_protos
saver = saver_lib.Saver(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 836, in init
self.build()
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 848, in build
self._build(self._filename, build_save=True, build_restore=True)
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 876, in _build
self.saver_def = self._builder._build_internal( # pylint: disable=protected-access
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saver.py", line 489, in _build_internal
saveables = saveable_object_util.validate_and_slice_inputs(
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 362, in validate_and_slice_inputs
for converted_saveable_object in saveable_objects_for_op(op, name):
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 223, in saveable_objects_for_op
yield ResourceVariableSaveable(variable, "", name)
File "AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\training\saving\saveable_object_util.py", line 95, in init
self.handle_op = var.op.inputs[0]
IndexError: tuple index out of range
getting this error after running train_auto_encoder_1.py
and after updating every tensorflow v1 to v2
any ideas?
The text was updated successfully, but these errors were encountered: