Code Monkey home page Code Monkey logo

deepsign-a-deep-learning-architecture-for-sign-language-recognition's People

Contributors

jayshah19949596 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deepsign-a-deep-learning-architecture-for-sign-language-recognition's Issues

train_auto_encoder_1.py issue

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?

ValueError: not enough values to unpack (expected 2, got 1) in file auto_encoder_1.py


ValueError Traceback (most recent call last)
in
1 total_start_time = time.time()
----> 2 train()
3 total_end_time = time.time()
4 print("===================================================")
5 print("Total Execution Time =", total_end_time - total_start_time)

in train()
163 # Freeze the session graph
164 # =========================
--> 165 cae.process_node_names()
166 utility.freeze_model(sess, logs_path, tf.train.latest_checkpoint(logs_path),
167 cae, "encoder_train.pb", cs.ENCODER1_FREEZED_PB_NAME)

d:\Hacks\ACM ASL\DeepSign-A-Deep-Learning-Architecture-for-Sign-Language-Recognition-master\models\auto_encoder_1.py in process_node_names(self)
27 print(self.nodes)
28 for i in range(len(self.nodes)):
---> 29 node_name, node_number = self.nodes[i].split(":")
30 self.nodes[i] = node_name
31

ValueError: not enough values to unpack (expected 2, got 1)

This is the whole error I'm getting. I tried to rewrite auto_encoder_1.py file a bit, but overall I'm coming back to this same place. This is not an issue with updated libraries. I'm using tf.compat.v1 and also made other necessary changes, but still encountering these issues. Can someone help me here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.