Closed zsdonghao closed 5 years ago
after running tf_upgrade_v2
for layers, some initialisations
need manual check:
Detected 109 errors that require attention
--------------------------------------------------------------------------------
tensorlayer/layers/recurrent.py:151:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:336:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:640:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/recurrent.py:642:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/recurrent.py:646:61: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:715:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:913:50: tf.zeros_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:1051:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:1306:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/recurrent.py:1581:24: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/activation.py:48:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/activation.py:120:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/activation.py:200:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:226:19: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:228:23: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:230:23: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:284:18: tf.nn.embedding_lookup requires manual check: WARNING: validate_indices argument has been removed..
tensorlayer/layers/inputs.py:290:12: tf.nn.nce_loss requires manual check: WARNING: `partition_strategy` has been removed from `tf.nn.nce_loss` The 'div' strategy is used by default..
tensorlayer/layers/inputs.py:340:19: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:367:18: tf.nn.embedding_lookup requires manual check: WARNING: validate_indices argument has been removed..
tensorlayer/layers/inputs.py:413:35: tf.random_uniform_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/inputs.py:446:26: tf.nn.embedding_lookup requires manual check: WARNING: validate_indices argument has been removed..
tensorlayer/layers/utils.py:45:57: tf.zeros_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/utils.py:46:55: tf.zeros_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/utils.py:50:40: tf.ones_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/utils.py:51:8: tf.zeros_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:170:22: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:171:23: tf.random_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:172:29: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:202:32: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:235:28: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:304:24: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:308:73: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:452:72: tf.ones_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:453:70: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:456:83: tf.ones_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:457:81: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:506:22: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:507:23: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:508:29: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:529:79: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/normalization.py:530:77: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/scale.py:40:69: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/spatial_transformer.py:154:19: tf.ones_like requires manual check: WARNING: tf.zeros_like and tf.ones_like no longer have the optimize argument in TF 2.0 or after (also, `tensor' argument is renamed to `input').
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/ternary_dense.py:52:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/ternary_dense.py:53:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense_bn.py:84:23: tf.ones_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense_bn.py:85:22: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense_bn.py:87:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense_bn.py:136:58: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense_bn.py:143:28: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/binary_dense.py:51:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/binary_dense.py:52:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/dorefa_dense.py:60:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/dorefa_dense.py:61:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense.py:57:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/quan_dense.py:58:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/dropconnect.py:65:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/dropconnect.py:66:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/dense/dropconnect.py:108:20: WARNING: tf.nn.dropout has changed the semantics of the second argument. Please check the applied transformation.
tensorlayer/layers/convolution/ternary_conv.py:81:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/ternary_conv.py:82:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/ternary_conv.py:147:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/separable_conv.py:69:19: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/separable_conv.py:176:19: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:59:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:60:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:189:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:190:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:233:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/expert_conv.py:292:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_conv.py:293:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/deformable_conv.py:77:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/deformable_conv.py:78:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_deconv.py:69:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_deconv.py:70:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_deconv.py:144:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_deconv.py:145:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_deconv.py:101:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_deconv.py:102:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_deconv.py:187:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/expert_deconv.py:188:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/atrous_conv.py:206:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/atrous_conv.py:207:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_conv.py:73:48: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_conv.py:74:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_conv.py:164:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/simplified_conv.py:165:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/dorefa_conv.py:73:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/dorefa_conv.py:74:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/dorefa_conv.py:140:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/binary_conv.py:79:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/binary_conv.py:80:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/binary_conv.py:147:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/quan_conv.py:85:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv.py:86:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv.py:152:18: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/quan_conv_bn.py:108:23: tf.ones_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv_bn.py:109:22: tf.zeros_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv_bn.py:113:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv_bn.py:151:19: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/quan_conv_bn.py:174:58: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv_bn.py:181:28: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/quan_conv_bn.py:210:24: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
tensorlayer/layers/convolution/depthwise_conv.py:83:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/depthwise_conv.py:84:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/group_conv.py:55:19: tf.truncated_normal_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/group_conv.py:56:19: tf.constant_initializer requires manual check: WARNING: tf.initializers and tf.keras.initializers no longer have the dtype argument in the constructor or partition_info argument in the call method in TF 2.0 and after. The only API symbols are now tf.keras.initializers.* or tf.initializers.*.
The calls have been converted to compat.v1 for safety (even though they may already have been correct)..
tensorlayer/layers/convolution/group_conv.py:83:38: tf.nn.conv2d requires manual check: WARNING: use_cudnn_on_gpu argument has been removed and "filter" was renamed to "filters".
I would advise that you don't do anything until the API is fixed (RC released is out). The API changes all the time at the moment
@DEKHTIARJonathan thanks, I am testing here https://github.com/zsdonghao/tensorlayer2/tree/tl2-layer
Hi, Is this issue still open, I would like to work on this, I am new here.
WELL DONE EVERYONE! https://github.com/tensorlayer/tensorlayer/releases/tag/2.0.0
NETWORK API REFACTORING - TO DO LIST
Design Docs
Refactoring Codes
Dear Contributors,
@DEKHTIARJonathan @akaraspt @luomai @lgarithm @JingqingZ @fangde etal.
As we discussed previously, TensorLayer 2.0 should support both eager and graph mode. The new API design is here https://github.com/luomai/tensorlayer2-design/issues/7
To make the refactoring faster, I simply fork tensorlayer/tensorlayer into zsdonghao/tensorlayer2: https://github.com/zsdonghao/tensorlayer2 , we can merge the branch back to tensorlayer/tensorlayer when the refactoring is finished. In doing so, the contributions will be in may commits rather than only 1.
Work to be done
Layers
dilation_rate
instead. (🀄️remember to change CN docs)tl.models
Examples
Others
tutorial_mnist_simple.py
_ @ChrisWu1997 2019/04/17Unittests Status:
Unittests Status (Pending):
Some testing codes can be removed.
tl.files
All save/load methods are also wrapped as class method in model core.