Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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'.
- _np_qint8 = np.dtype([("qint8", np.int8, 1)])
- /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'.
- _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
- /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'.
- _np_qint16 = np.dtype([("qint16", np.int16, 1)])
- /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'.
- _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
- /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'.
- _np_qint32 = np.dtype([("qint32", np.int32, 1)])
- /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'.
- np_resource = np.dtype([("resource", np.ubyte, 1)])
- /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'.
- _np_qint8 = np.dtype([("qint8", np.int8, 1)])
- /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'.
- _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
- /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'.
- _np_qint16 = np.dtype([("qint16", np.int16, 1)])
- /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'.
- _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
- /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'.
- _np_qint32 = np.dtype([("qint32", np.int32, 1)])
- /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'.
- np_resource = np.dtype([("resource", np.ubyte, 1)])
- 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)
- WARNING:tensorflow:From attack.py:27: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
- 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
- 2019-10-18 16:01:43.897638: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1992000000 Hz
- 2019-10-18 16:01:43.898240: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4ccbd90 executing computations on platform Host. Devices:
- 2019-10-18 16:01:43.898260: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
- WARNING:tensorflow:From attack.py:30: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
- WARNING:tensorflow:From /home/dan/Desktop/advhat/Attack/utils.py:6: The name tf.log is deprecated. Please use tf.math.log instead.
- 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.
- Instructions for updating:
- Use tf.where in 2.0, which has the same broadcast rule as np.where
- 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.
- WARNING:tensorflow:From attack.py:123: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.
- WARNING:tensorflow:From attack.py:124: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.
- WARNING:tensorflow:From attack.py:130: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
- /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.
- warn('The default multichannel argument (None) is deprecated. Please '
- Traceback (most recent call last):
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
- return fn(*args)
- File "/home/dan/.local/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/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
- run_metadata)
- tensorflow.python.framework.errors_impl.UnimplementedError: Generic conv implementation only supports NHWC tensor format for now.
- [[{{node conv0}}]]
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "attack.py", line 228, in <module>
- main(parse_arguments(sys.argv[1:]))
- File "attack.py", line 145, in main
- fdict2[orig_emb] = sess.run(embedding,feed_dict=fdict2)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run
- run_metadata_ptr)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run
- feed_dict_tensor, options, run_metadata)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
- run_metadata)
- File "/home/dan/.local/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.UnimplementedError: Generic conv implementation only supports NHWC tensor format for now.
- [[node conv0 (defined at attack.py:129) ]]
- Original stack trace for 'conv0':
- File "attack.py", line 228, in <module>
- main(parse_arguments(sys.argv[1:]))
- File "attack.py", line 129, in main
- name="")
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
- return func(*args, **kwargs)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 443, in import_graph_def
- _ProcessNewOps(graph)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 236, in _ProcessNewOps
- for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3751, in _add_new_tf_operations
- for c_op in c_api_util.new_tf_operations(self)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3751, in <listcomp>
- for c_op in c_api_util.new_tf_operations(self)
- File "/home/dan/.local/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3641, in _create_op_from_tf_operation
- ret = Operation(c_op, self)
- File "/home/dan/.local/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