Giter VIP home page Giter VIP logo

pupil-locator's People

Contributors

dependabot[bot] avatar isohrab avatar lucasctn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pupil-locator's Issues

Convert to ios application

Hi Alireza Keshavarzi, last week i found your amazing work, and it work like a charm, i'm trying to porting it to ios application but so far i'm stucked, can you guide me some tip,

i'm trying to convert model to PB format then to tflite, i'm stuck at define output_node_name for conver to pb step (['InceptionV4/Logits/Predictions']), then i'm using all possible node name

min_graph = tf.compat.v1.graph_util.convert_variables_to_constants(session, session.graph_def, [node.name for node in graph.as_graph_def().node])
tf.train.write_graph(min_graph, "logdir/", "file.pb", as_text=False)
with open('output_graph.pb', 'wb') as f:
f.write(min_graph.SerializeToString())

i got success output pb file, but when load it i got these error

GRAPH_PB_PATH = 'logdir/file.pb'
with tf.Session() as sess:
print("load graph")
with gfile.FastGFile(GRAPH_PB_PATH,'rb') as f:
graph_def = tf.GraphDef()
graph_def.ParseFromString(f.read())
sess.graph.as_default()
tf.import_graph_def(graph_def, name='3A4Bh-Ref25')

=> ERROR: ValueError:ValueError: Input 0 of node 3A4Bh-Ref25/global_step/Assign was passed int32 from 3A4Bh-Ref25/global_step:0 incompatible with expected int32_ref.

so i'm stucked here

Please help me,
Thanks and Besst Regard

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.