(...)
9000
Extract test images
500
Traceback (most recent call last):
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 510, in _apply_op_helper
preferred_dtype=default_dtype)
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1107, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 944, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype int32 for Tensor with dtype float32: 'Tensor("Add_3:0", shape=(?, 54), dtype=float32)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "all_digits.py", line 86, in <module>
pred_digits = tf.split(1, 6, pred)
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 1315, in split
axis=axis, num_split=num_or_size_splits, value=value, name=name)
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 7793, in split
"Split", split_dim=axis, value=value, num_split=num_split, name=name)
File "/Users/robertoz/dev/venvs/captcha-cracking/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 533, in _apply_op_helper
(prefix, dtypes.as_dtype(input_arg.type).name))
TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.