Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint8 = np.dtype([("qint8", np.int8, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint16 = np.dtype([("qint16", np.int16, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint32 = np.dtype([("qint32", np.int32, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- np_resource = np.dtype([("resource", np.ubyte, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint8 = np.dtype([("qint8", np.int8, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint16 = np.dtype([("qint16", np.int16, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- _np_qint32 = np.dtype([("qint32", np.int32, 1)])
- /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
- np_resource = np.dtype([("resource", np.ubyte, 1)])
- WARNING:tensorflow:From 07.10.19 tensorflow.py:28: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
- WARNING:tensorflow:From 07.10.19 tensorflow.py:35: The name tf.random_normal is deprecated. Please use tf.random.normal instead.
- WARNING:tensorflow:From 07.10.19 tensorflow.py:62: The name tf.train.GradientDescentOptimizer is deprecated. Please use tf.compat.v1.train.GradientDescentOptimizer instead.
- WARNING:tensorflow:From /home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/ops/math_grad.py:1205: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
- Instructions for updating:
- Use tf.where in 2.0, which has the same broadcast rule as np.where
- WARNING:tensorflow:From 07.10.19 tensorflow.py:65: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.
- WARNING:tensorflow:From 07.10.19 tensorflow.py:73: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
- Traceback (most recent call last):
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
- return fn(*args)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
- options, feed_dict, fetch_list, target_list, run_metadata)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
- run_metadata)
- tensorflow.python.framework.errors_impl.InvalidArgumentError: In[0] mismatch In[1] shape: 3 vs. 2: [2000,3] [2,2] 0 0
- [[{{node MatMul}}]]
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "07.10.19 tensorflow.py", line 80, in <module>
- sess.run(optimizer, feed_dict={data_holder: X, label_holder: Xc})
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run
- run_metadata_ptr)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run
- feed_dict_tensor, options, run_metadata)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
- run_metadata)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
- raise type(e)(node_def, op, message)
- tensorflow.python.framework.errors_impl.InvalidArgumentError: In[0] mismatch In[1] shape: 3 vs. 2: [2000,3] [2,2] 0 0
- [[node MatMul (defined at 07.10.19 tensorflow.py:47) ]]
- Errors may have originated from an input operation.
- Input Source operations connected to node MatMul:
- Variable/read (defined at 07.10.19 tensorflow.py:35)
- Placeholder (defined at 07.10.19 tensorflow.py:28)
- Original stack trace for 'MatMul':
- File "07.10.19 tensorflow.py", line 47, in <module>
- layer_1 = tf.add(tf.matmul(data_holder, w0), b0)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
- return target(*args, **kwargs)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/ops/math_ops.py", line 2609, in matmul
- return batch_mat_mul_fn(a, b, adj_x=adjoint_a, adj_y=adjoint_b, name=name)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/ops/gen_math_ops.py", line 1677, in batch_mat_mul_v2
- "BatchMatMulV2", x=x, y=y, adj_x=adj_x, adj_y=adj_y, name=name)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
- op_def=op_def)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
- return func(*args, **kwargs)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3616, in create_op
- op_def=op_def)
- File "/home/yury.stanev/4NN3-Neural-Networks-and-Deep-Learning/4nn3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2005, in __init__
- self._traceback = tf_stack.extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement