from: can't read /var/mail/root
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:526: 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)])
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:527: 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)])
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:528: 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)])
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:529: 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)])
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:530: 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)])
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/dtypes.py:535: 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)])
2022-07-04 02:14:03.788099: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2022-07-04 02:14:03.791397: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz
2022-07-04 02:14:03.791645: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x20f3a20 executing computations on platform Host. Devices:
2022-07-04 02:14:03.791688: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
WARNING:tensorflow:From /content/drive/MyDrive/adversarial_example/adversarial-examples/code2vec/PathContextReader.py:132: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
WARNING:tensorflow:From /content/drive/MyDrive/adversarial_example/adversarial-examples/code2vec/model.py:817: calling softmax (from tensorflow.python.ops.nn_ops) with dim is deprecated and will be removed in a future version.
Instructions for updating:
dim is deprecated, use axis instead
WARNING:tensorflow:From /content/drive/MyDrive/adversarial_example/adversarial-examples/code2vec/model.py:855: to_int64 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/training/saver.py:1266: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
tcmalloc: large alloc 1134387200 bytes == 0xedeb6000 @ 0x7fc31ca651e7 0x4a3940 0x5b438c 0x5ea94f 0x5939cb 0x594cd3 0x5d0ecb 0x5939af 0x594cd3 0x594f8e 0x59526e 0x5bfba0 0x59aeca 0x515655 0x593dd7 0x548ae9 0x51566f 0x549e0e 0x593fce 0x548ae9 0x5127f1 0x549576 0x604173 0x5f5506 0x5f8c6c 0x5f9206 0x64faf2 0x64fc4e 0x7fc31c662c87 0x5b621a
2022-07-04 02:17:29.462489: W tensorflow/core/framework/allocator.cc:124] Allocation of 964349952 exceeds 10% of system memory.
2022-07-04 02:17:49.549929: W tensorflow/core/framework/allocator.cc:124] Allocation of 1356117120 exceeds 10% of system memory.
tcmalloc: large alloc 1356120064 bytes == 0xf61a2000 @ 0x7fc31ca47b6b 0x7fc31ca67379 0x7fc3083fb9d4 0x7fc3080892f0 0x7fc308136bee 0x7fc30810b032 0x7fc30810b410 0x7fc30810b53d 0x7fc30be22abb 0x7fc30836529e 0x7fc308352dc5 0x7fc3083cf362 0x7fc3083cc578 0x7fc31b347a50 0x7fc31c4296db 0x7fc31c76261f
2022-07-04 02:18:06.493956: W tensorflow/core/framework/allocator.cc:124] Allocation of 1114087884 exceeds 10% of system memory.
2022-07-04 02:18:23.542096: W tensorflow/core/framework/allocator.cc:124] Allocation of 1127272356 exceeds 10% of system memory.
2022-07-04 02:18:42.425088: W tensorflow/core/framework/allocator.cc:124] Allocation of 1245932604 exceeds 10% of system memory.
tcmalloc: large alloc 1359888384 bytes == 0xf61a2000 @ 0x7fc31ca47b6b 0x7fc31ca67379 0x7fc3083fb9d4 0x7fc3080892f0 0x7fc308136bee 0x7fc30810b032 0x7fc30810b410 0x7fc30810b53d 0x7fc30be22abb 0x7fc30836529e 0x7fc308352dc5 0x7fc3083cf362 0x7fc3083cc578 0x7fc31b347a50 0x7fc31c4296db 0x7fc31c76261f
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
Dear Mr.Yefet @noamyft
I tried on Google Colab. The program of "Deadcode Attack" did not run well.
Environment
・MacBook Pro (13-inch, M1, 2020) ・Google Colaboratory ・Python 3.7.3 ・tensorflow 1.13.1
Steps to reproduce
1 ) Open the Google Colab (https://colab.research.google.com/?hl=en) 2) File→New notebook 2) Run the program
And Error message is here.