Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.24 KB | None | 0 0
  1. /home/dan/.local/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'.
  2. _np_qint8 = np.dtype([("qint8", np.int8, 1)])
  3. /home/dan/.local/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'.
  4. _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
  5. /home/dan/.local/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'.
  6. _np_qint16 = np.dtype([("qint16", np.int16, 1)])
  7. /home/dan/.local/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'.
  8. _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
  9. /home/dan/.local/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'.
  10. _np_qint32 = np.dtype([("qint32", np.int32, 1)])
  11. /home/dan/.local/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'.
  12. np_resource = np.dtype([("resource", np.ubyte, 1)])
  13. /home/dan/.local/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'.
  14. _np_qint8 = np.dtype([("qint8", np.int8, 1)])
  15. /home/dan/.local/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'.
  16. _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
  17. /home/dan/.local/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'.
  18. _np_qint16 = np.dtype([("qint16", np.int16, 1)])
  19. /home/dan/.local/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'.
  20. _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
  21. /home/dan/.local/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'.
  22. _np_qint32 = np.dtype([("qint32", np.int32, 1)])
  23. /home/dan/.local/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'.
  24. np_resource = np.dtype([("resource", np.ubyte, 1)])
  25. Namespace(anchor_emb=None, anchor_face='no_hat_aligned.png', batch_size=20, image='hat_mask.png', init_face=None, init_logo=None, model='r100.pb', param=0.0013, ph=17.0, scale=0.465, w_tv=0.0001, x=0.0, y=-15.0)
  26. WARNING:tensorflow:From attack.py:27: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
  27.  
  28. 2019-10-18 16:01:43.875054: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
  29. 2019-10-18 16:01:43.897638: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1992000000 Hz
  30. 2019-10-18 16:01:43.898240: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4ccbd90 executing computations on platform Host. Devices:
  31. 2019-10-18 16:01:43.898260: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
  32. WARNING:tensorflow:From attack.py:30: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
  33.  
  34. WARNING:tensorflow:From /home/dan/Desktop/advhat/Attack/utils.py:6: The name tf.log is deprecated. Please use tf.math.log instead.
  35.  
  36. WARNING:tensorflow:From /home/dan/.local/lib/python3.6/site-packages/tensorflow/python/ops/math_grad.py:1250: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
  37. Instructions for updating:
  38. Use tf.where in 2.0, which has the same broadcast rule as np.where
  39. 2019-10-18 16:01:44.487520: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
  40. WARNING:tensorflow:From attack.py:123: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
  41.  
  42. WARNING:tensorflow:From attack.py:124: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
  43.  
  44. WARNING:tensorflow:From attack.py:130: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
  45.  
  46. /home/dan/.local/lib/python3.6/site-packages/skimage/transform/_warps.py:23: UserWarning: The default multichannel argument (None) is deprecated. Please specify either True or False explicitly. multichannel will default to False starting with release 0.16.
  47. warn('The default multichannel argument (None) is deprecated. Please '
  48. Traceback (most recent call last):
  49. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
  50. return fn(*args)
  51. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
  52. options, feed_dict, fetch_list, target_list, run_metadata)
  53. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
  54. run_metadata)
  55. tensorflow.python.framework.errors_impl.UnimplementedError: Generic conv implementation only supports NHWC tensor format for now.
  56. [[{{node conv0}}]]
  57.  
  58. During handling of the above exception, another exception occurred:
  59.  
  60. Traceback (most recent call last):
  61. File "attack.py", line 228, in <module>
  62. main(parse_arguments(sys.argv[1:]))
  63. File "attack.py", line 145, in main
  64. fdict2[orig_emb] = sess.run(embedding,feed_dict=fdict2)
  65. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run
  66. run_metadata_ptr)
  67. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run
  68. feed_dict_tensor, options, run_metadata)
  69. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
  70. run_metadata)
  71. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
  72. raise type(e)(node_def, op, message)
  73. tensorflow.python.framework.errors_impl.UnimplementedError: Generic conv implementation only supports NHWC tensor format for now.
  74. [[node conv0 (defined at attack.py:129) ]]
  75.  
  76. Original stack trace for 'conv0':
  77. File "attack.py", line 228, in <module>
  78. main(parse_arguments(sys.argv[1:]))
  79. File "attack.py", line 129, in main
  80. name="")
  81. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
  82. return func(*args, **kwargs)
  83. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 443, in import_graph_def
  84. _ProcessNewOps(graph)
  85. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 236, in _ProcessNewOps
  86. for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
  87. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3751, in _add_new_tf_operations
  88. for c_op in c_api_util.new_tf_operations(self)
  89. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3751, in <listcomp>
  90. for c_op in c_api_util.new_tf_operations(self)
  91. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3641, in _create_op_from_tf_operation
  92. ret = Operation(c_op, self)
  93. File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2005, in __init__
  94. self._traceback = tf_stack.extract_stack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement