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

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현