Comments (8)
I migrated the code to TF 1.0 and submitted a pull request.
from tensorflow-mnist-tutorial.
Thanks Guillaume and quarkw. I know about this an I plan to fix it next week. Your pull req. will help.
from tensorflow-mnist-tutorial.
Same issue -- thanks for the workaround.
from tensorflow-mnist-tutorial.
Thanks for the workaround! @martin-gorner may I suggest updating the readme to reflect this requirement until your fix is pushed?
from tensorflow-mnist-tutorial.
Hi, I'm having problem when using python3 mnist_1.0_softmax.py in Windows. It return errors as below
'python3' is not recognized as an internal or external command,
operable program or batch file. Any advice for this?
from tensorflow-mnist-tutorial.
Yes. I having the same wrong here.And also put a question on stack overflow😂
from tensorflow-mnist-tutorial.
Please follows the Windows installation instructions in the INSTALL.txt file. In short, install Anaconda, it comes with a command line whre you can issue Python commands (maybe in the Anaconda install, "python3" is just "python"). In any case, you type this in the Anaconda command line window, not the Windows command line.
Closing this issue because it is about TF1.0 compatibility, not windows compatibility.
from tensorflow-mnist-tutorial.
I work with Windows 7/64, Phyton 3.6.0 Anaconda 4.3.0 (64bit), TF1.0.
I cloned the updated example and run the mnist_1.0_softmax.py (after commit +init = tf.global_variables_initializer()).
Te same error as above: TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
Here is lising:
C:\ProgramData\Anaconda3\Scripts\tensorflow-mnist-tutorial>python mnist_1.0_softmax.py
I d:\build\tensorflow\tensorflow_gpu-r0.12\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA librar
y cublas64_80.dll locally
I d:\build\tensorflow\tensorflow_gpu-r0.12\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA librar
y cudnn64_5.dll locally
I d:\build\tensorflow\tensorflow_gpu-r0.12\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA librar
y cufft64_80.dll locally
I d:\build\tensorflow\tensorflow_gpu-r0.12\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA librar
y nvcuda.dll locally
I d:\build\tensorflow\tensorflow_gpu-r0.12\tensorflow\stream_executor\dso_loader.cc:128] successfully opened CUDA librar
y curand64_80.dll locally
Successfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Extracting data\train-images-idx3-ubyte.gz
Successfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Extracting data\train-labels-idx1-ubyte.gz
Successfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Extracting data\t10k-images-idx3-ubyte.gz
Successfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting data\t10k-labels-idx1-ubyte.gz
Traceback (most recent call last):
File "mnist_1.0_softmax.py", line 78, in
I = tensorflowvisu.tf_format_mnist_images(X, Y, Y_) # assembles 10x10 images by default
File "C:\ProgramData\Anaconda3\Scripts\tensorflow-mnist-tutorial\tensorflowvisu.py", line 42, in tf_format_mnist_image
s
everything_incorrect_first = tf.concat([incorrectly_recognised_indices, correctly_recognised_indices], 0) # images r
eordered with indeces of unrecognised images first
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\ops\array_ops.py", line 1075, in concat
dtype=dtypes.int32).get_shape(
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 669, in convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\constant_op.py", line 176, in _constant_t
ensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\constant_op.py", line 165, in constant
tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 367, in make_tensor
_proto
_AssertCompatible(values, dtype)
File "C:\ProgramData\Anaconda3\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 302, in _AssertComp
atible
(dtype.name, repr(mismatch), type(mismatch).name))
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.
from tensorflow-mnist-tutorial.
Related Issues (20)
- max test accuracy: 0 HOT 5
- Empty plots HOT 6
- line 37 (3.0, 3.1, 4.2) HOT 1
- cross_entropy * 100 HOT 2
- Guide for Installing TensorFlow and Python 3.5 on Windows HOT 2
- BatchNorm is not in 'test mode' inside update_train_data HOT 2
- Error in mnist_1.0_softmax.py file HOT 4
- Doesn't work with latest pandas 0.20.1 and 0.20.2 HOT 4
- Issue with OSX HOT 2
- Examples are running very slow on AWS HOT 1
- _tkinter.TclError: no display name and no $DISPLAY environment variable HOT 1
- error while compiling the model HOT 1
- How to visualize? HOT 1
- How about tf.contrib.layers.batch_norm ? HOT 1
- Error occured when trying to run the script mnist_1.0_softmax.py HOT 1
- How to run on GPU? HOT 2
- how to download slides HOT 1
- Prediction is missing HOT 1
- Question related to compatible_convolutional_noise_shape function. HOT 1
- Point classification using DNN HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-mnist-tutorial.