GithubHelp home page GithubHelp logo

Comments (2)

dvornikita avatar dvornikita commented on July 4, 2024

Hi @fastlater, I really appreciate your help in debugging and developing this project.
Unfortunately, this time I can't answer the question because I don't know how to help you in this situation, at least not right now :)
I'm gonna look into the graph later, probably next week, and write you.

from blitznet.

fastlater avatar fastlater commented on July 4, 2024

@dvornikita Thank you for your honest answer. I will keep trying. I hope next week you have free time and check it and give me some ideas.

Update October 26,2017:
Using the code shown below, I can store the graph properly

 output_graph_def = graph_util.convert_variables_to_constants(sess,input_graph_def,output_node_names.split(","))
with tf.gfile.GFile(output_graph, "wb") as f:
                f.write(output_graph_def.SerializeToString())

optimize_for_inference.py remove some (just a few) nodes but the model is more clear in tensorboard and ready to use. Thus, blitznet can be exported using the optimize_for_inference tool.

Keep trying with tf.identity becuase simpler output nodes (1 for n locations and 1 for n scores) will make the outputs of this model easier to use when it is exported:

all_boxes = tf.identity(self.detection_list,name='all_boxes')
all_scores = tf.identity(self.score_list, name='all_scores')

However, these lines got me an error: InvalidArgumentError: Shapes of all inputs must match: values[0].shape = [0] != values[4].shape = [50]. I tried with tf.concat but then all the results found are placed in a single array and not an array of arrays. I will need help with this.

from blitznet.

Related Issues (20)

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.