question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

See original GitHub issue

run code :

python main.py --dataset mnist --input_height=28 --output_height=28 --c_dim=1 --is_train 

image

TypeError: Expected int32, got list containing Tensors of type ‘_Message’ instead.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
tcglarrycommented, Apr 4, 2017

I also met the issues, my solution: change tf.concat to tf.concat_v2

That’s all…and it works.!

1reaction
BerenLuthiencommented, Mar 17, 2017

Mine was stupid … I simply did not notice… FYI : Instead of using HyperColumns = tf.concat(0 , [layer1, layer2], )

I should use HyperColumns = tf.concat([layer1, layer2], 0)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tensorflow Slim: TypeError: Expected int32, got list containing ...
I got the same problem when using the 1.0 released and I could make it work without having to roll back on a...
Read more >
Expected int32, got list containing Tensors of type '_Message ...
Hi, I am using TF ver 0.12.head on Ubuntu 16.04 Python 2.7 and following this for learning inception model in TF Slim import...
Read more >
Tensorflow Slim: TypeError: Expected int32, got list ... - Intellipaat
I think the problem is caused by a change in the API. You should update all the line with tf.concat. For example. net...
Read more >
Expected int32, got list containing Tensors of type '_Message ...
Tensorflow Error Error Message:TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
Read more >
Tensorflow Slim: TypeError: Expected int32, got list ... - DevPress
I am following this tutorial for learning TensorFlow Slim but upon running the following code for Inception:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found