Advertisement
Bart91

ERROR Trace Tensorflow

Nov 29th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. "/home/_/anaconda3/lib/python3.6/site-packages/matplotlib/__init__.py:1405: UserWarning:
  2. This call to `matplotlib.use()` has no effect because the backend has already
  3. been chosen; `matplotlib.use()` must be called *before* pylab, matplotlib.pyplot,
  4. or matplotlib.backends is imported for the first time.
  5. `warnings.warn(_use_error_msg)`
  6. WARNING:tensorflow:Forced number of epochs for all eval validations to be 1.
  7. WARNING:tensorflow:Expected number of evaluation epochs is 1, but instead encountered `eval_on_train_input_config.num_epochs` = 0. Overwriting `num_epochs` to 1.
  8. WARNING:tensorflow:Using temporary folder as model directory: /tmp/tmp3yfanv31
  9. WARNING:tensorflow:Estimator's model_fn (<function create_model_fn. <locals>.model_fn at 0x7f75f0110730>) includes params argument, but params are not passed to Estimator.
  10. WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
  11. WARNING:tensorflow:From ../models/research/object_detection/builders/dataset_builder.py:80: parallel_interleave (from tensorflow.contrib.data.python.ops.interleave_ops) is deprecated and will be removed in a future version.
  12. Instructions for updating:
  13. Use `tf.data.experimental.parallel_interleave(...)`.
  14. WARNING:tensorflow:From ../anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/sparse_ops.py:1165: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
  15. Instructions for updating:
  16. Create a `tf.sparse.SparseTensor` and use `tf.sparse.to_dense` instead.
  17. WARNING:tensorflow:From ../models/research/object_detection/core/preprocessor.py:1208: calling squeeze (from tensorflow.python.ops.array_ops) with squeeze_dims is deprecated and will be removed in a future version.
  18. Instructions for updating:
  19. Use the `axis` argument instead
  20. WARNING:tensorflow:From ../tensorflow/models/research/object_detection/builders/dataset_builder.py:148: batch_and_drop_remainder (from tensorflow.contrib.data.python.ops.batching) is deprecated and will be removed in a future version.
  21. Instructions for updating:
  22. Use `tf.data.Dataset.batch(..., drop_remainder=True)`.
  23. 2018-11-29 15:07:21.572864: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
  24. Traceback (most recent call last):
  25. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
  26. `return fn(*args)`
  27. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in `_run_fn
  28. options, feed_dict, fetch_list, target_list, run_metadata)`
  29. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, `in _call_tf_sessionrun
  30. run_metadata)`
  31. tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
  32. [[{{node case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert}} = Assert[T=[DT_STRING], summarize=3, _device="/device:CPU:0"](case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/is_bmp, case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert/data_0)]]
  33. [[{{node IteratorGetNext}} = IteratorGetNext[output_shapes=[[12], [12,300,300,3], [12,2], [12,3], [12,100], [12,100,4], [12,100,1], [12,100,1], [12,100], [12,100], [12,100], [12]], output_types=[DT_INT32, DT_FLOAT, DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT32, DT_BOOL, DT_FLOAT, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"](IteratorV2)]]
  34.  
  35. During handling of the above exception, another exception occurred:
  36.  
  37. Traceback (most recent call last):
  38. File "model_main.py", line 109, in <module>
  39. `tf.app.run()`
  40. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
  41. `_sys.exit(main(argv))`
  42. File "model_main.py", line 105, in main
  43. `tf.estimator.train_and_evaluate(estimator, train_spec, eval_specs[0])`
  44. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/training.py", line 471, in train_and_evaluate
  45. `return executor.run()`
  46. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/training.py", line 610, in run
  47. `return self.run_local()`
  48. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/training.py", line 711, in run_local
  49. `saving_listeners=saving_listeners)`
  50. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 354, in train
  51. `loss = self._train_model(input_fn, hooks, saving_listeners)`
  52. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1207, in _train_model
  53. `return self._train_model_default(input_fn, hooks, saving_listeners)`
  54. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1241, in `_train_model_default
  55. saving_listeners)`
  56. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/estimator.py", line 1471, in _train_with_estimator_spec
  57. `_, loss = mon_sess.run([estimator_spec.train_op, estimator_spec.loss])`
  58. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 671, in run
  59. `run_metadata=run_metadata)`
  60. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1156, in run
  61. `run_metadata=run_metadata)`
  62. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1255, in run
  63. `raise six.reraise(*original_exc_info)`
  64. File "../.local/lib/python3.6/site-packages/six.py", line 693, in reraise
  65. `raise value`
  66. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1240, in run
  67. `return self._sess.run(*args, **kwargs)`
  68. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1312, in run
  69. `run_metadata=run_metadata)`
  70. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/training/monitored_session.py", line 1076, in run
  71. `return self._sess.run(*args, **kwargs)`
  72. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
  73. `run_metadata_ptr)`
  74. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
  75. `feed_dict_tensor, options, run_metadata)`
  76. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
  77. `run_metadata)`
  78. File "../anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
  79. `raise type(e)(node_def, op, message)`
  80. tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [Unable to decode bytes as JPEG, PNG, GIF, or BMP]
  81. [[{{node case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert}} = Assert[T=[DT_STRING], summarize=3, _device="/device:CPU:0"](case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/is_bmp, case/cond/cond_jpeg/decode_image/cond_jpeg/cond_png/cond_gif/Assert_1/Assert/data_0)]]
  82. [[node IteratorGetNext (defined at model_main.py:105) = IteratorGetNext[output_shapes=[[12], [12,300,300,3], [12,2], [12,3], [12,100], [12,100,4], [12,100,1], [12,100,1], [12,100], [12,100], [12,100], [12]], output_types=[DT_INT32, DT_FLOAT, DT_INT32, DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_INT32, DT_BOOL, DT_FLOAT, DT_INT32], _device="/job:localhost/replica:0/task:0/device:CPU:0"](IteratorV2)]]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement