Find parameters of Tensorflow graphTensorflow: how to save/restore a model?Display image of graph in TensorFlow?Tensorflow: restoring a graph and model then running evaluation on a single imageHow to get current available GPUs in tensorflow?Session graph is emptyImport a simple Tensorflow frozen_model.pb file and make prediction in C++Extract the weights from a TensorFlow graph to use them in KerasHow to convert a HED model to Tensorflow Lite modelUnable to convert custom trained frozen model into tflite format

Unexpected route on a flight from USA to Europe

Why can I log in to my Facebook account with a misspelled email/password?

Why does the ultra long-end of a yield curve invert?

Is it double speak?

How to explain to a team that the project they will work for 6 months will 100% fail?

Can an actual attack instead of a feint be used as the distraction for a help action?

Infeasibility in mathematical optimization models

How to realistically deal with a shield user?

Does the Voyager team use a wrapper (Fortran(77?) to Python) to transmit current commands?

What is to be understood by the assertion 'Israels right to exist'?

Does this smartphone photo show Mars just below the Sun?

French equivalent of "Make leaps and bounds"

Is the beaming of this score following a vocal practice or it is just outdated and obscuring the beat?

Look mom! I made my own (Base 10) numeral system!

Our group keeps dying during the Lost Mine of Phandelver campaign. What are we doing wrong?

Does the United States guarantee any unique freedoms?

Does bottle color affect mold growth?

How can glass marbles naturally occur in a desert?

Will a paper be retracted if a flaw in released software code invalidates its central idea?

How to draw a flow chart?

Should I take out a personal loan to pay off credit card debt?

How is the return type of a ternary operator determined?

What word can be used to describe a bug in a movie?

Is it allowed and safe to carry a passenger / non-pilot in the front seat of a small general aviation airplane?



Find parameters of Tensorflow graph


Tensorflow: how to save/restore a model?Display image of graph in TensorFlow?Tensorflow: restoring a graph and model then running evaluation on a single imageHow to get current available GPUs in tensorflow?Session graph is emptyImport a simple Tensorflow frozen_model.pb file and make prediction in C++Extract the weights from a TensorFlow graph to use them in KerasHow to convert a HED model to Tensorflow Lite modelUnable to convert custom trained frozen model into tflite format






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have this TensorFlow graph. I successfully obtained input_arrays and output_arrays of this graph using this script:



import tensorflow as tf
gf = tf.GraphDef()
m_file = open('deeplabv3_mnv2_pascal_tain.pb','rb')
gf.ParseFromString(m_file.read())

for n in gf.node:
print( n.name )


I am stuck at a point where I cannot obtain:



input_shapes


from the same graph. How do I get this information provided I only have this graph.










share|improve this question


























  • If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

    – Ajinkya
    Mar 27 at 6:24






  • 1





    Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

    – Mohan Radhakrishnan
    Mar 27 at 7:36











  • Ive updated the permissions please try now

    – Ajinkya
    Mar 27 at 7:57











  • By input_shapes do you mean the shape of the input (which you already get the name) ?

    – Dere_negn
    Mar 27 at 14:35












  • --input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

    – Ajinkya
    Mar 28 at 12:07

















0















I have this TensorFlow graph. I successfully obtained input_arrays and output_arrays of this graph using this script:



import tensorflow as tf
gf = tf.GraphDef()
m_file = open('deeplabv3_mnv2_pascal_tain.pb','rb')
gf.ParseFromString(m_file.read())

for n in gf.node:
print( n.name )


I am stuck at a point where I cannot obtain:



input_shapes


from the same graph. How do I get this information provided I only have this graph.










share|improve this question


























  • If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

    – Ajinkya
    Mar 27 at 6:24






  • 1





    Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

    – Mohan Radhakrishnan
    Mar 27 at 7:36











  • Ive updated the permissions please try now

    – Ajinkya
    Mar 27 at 7:57











  • By input_shapes do you mean the shape of the input (which you already get the name) ?

    – Dere_negn
    Mar 27 at 14:35












  • --input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

    – Ajinkya
    Mar 28 at 12:07













0












0








0


1






I have this TensorFlow graph. I successfully obtained input_arrays and output_arrays of this graph using this script:



import tensorflow as tf
gf = tf.GraphDef()
m_file = open('deeplabv3_mnv2_pascal_tain.pb','rb')
gf.ParseFromString(m_file.read())

for n in gf.node:
print( n.name )


I am stuck at a point where I cannot obtain:



input_shapes


from the same graph. How do I get this information provided I only have this graph.










share|improve this question
















I have this TensorFlow graph. I successfully obtained input_arrays and output_arrays of this graph using this script:



import tensorflow as tf
gf = tf.GraphDef()
m_file = open('deeplabv3_mnv2_pascal_tain.pb','rb')
gf.ParseFromString(m_file.read())

for n in gf.node:
print( n.name )


I am stuck at a point where I cannot obtain:



input_shapes


from the same graph. How do I get this information provided I only have this graph.







python-3.x tensorflow machine-learning computer-vision






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 6:31







Ajinkya

















asked Mar 27 at 6:18









AjinkyaAjinkya

5823 silver badges18 bronze badges




5823 silver badges18 bronze badges















  • If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

    – Ajinkya
    Mar 27 at 6:24






  • 1





    Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

    – Mohan Radhakrishnan
    Mar 27 at 7:36











  • Ive updated the permissions please try now

    – Ajinkya
    Mar 27 at 7:57











  • By input_shapes do you mean the shape of the input (which you already get the name) ?

    – Dere_negn
    Mar 27 at 14:35












  • --input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

    – Ajinkya
    Mar 28 at 12:07

















  • If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

    – Ajinkya
    Mar 27 at 6:24






  • 1





    Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

    – Mohan Radhakrishnan
    Mar 27 at 7:36











  • Ive updated the permissions please try now

    – Ajinkya
    Mar 27 at 7:57











  • By input_shapes do you mean the shape of the input (which you already get the name) ?

    – Dere_negn
    Mar 27 at 14:35












  • --input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

    – Ajinkya
    Mar 28 at 12:07
















If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

– Ajinkya
Mar 27 at 6:24





If you are down voting please let me know the reason. I can change my question accordingly. If I still didn't change the question after giving reason then feel free to down vote.

– Ajinkya
Mar 27 at 6:24




1




1





Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

– Mohan Radhakrishnan
Mar 27 at 7:36





Your Google drive needs permission. Please try to include that information here if possible. I didn't downvote.

– Mohan Radhakrishnan
Mar 27 at 7:36













Ive updated the permissions please try now

– Ajinkya
Mar 27 at 7:57





Ive updated the permissions please try now

– Ajinkya
Mar 27 at 7:57













By input_shapes do you mean the shape of the input (which you already get the name) ?

– Dere_negn
Mar 27 at 14:35






By input_shapes do you mean the shape of the input (which you already get the name) ?

– Dere_negn
Mar 27 at 14:35














--input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

– Ajinkya
Mar 28 at 12:07





--input_shapes=1,1568,1176,3, means the dimensions of training set. Ive changed them according to my training set

– Ajinkya
Mar 28 at 12:07












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370926%2ffind-parameters-of-tensorflow-graph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370926%2ffind-parameters-of-tensorflow-graph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript