You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/ssd2/liyang/tensorflow/models/research/deeplab/train.py", line 22, in<module>
from deeplab import common
File "/ssd2/liyang/tensorflow/models/research/deeplab/common.py", line 25, in<module>
flags = tf.app.flags
AttributeError: 'module' object has no attribute 'app'
RL模型
TF<1.3 support will be removed after 2018-03-15! Actually many examples already require TF>=1.3.
Traceback (most recent call last):
File "./algorithm.py", line 5, in<module>
from tensorpack.utils.globvars import globalns as param
File "/usr/local/lib/python3.5/dist-packages/tensorpack/__init__.py", line 17, in<module>
from tensorpack.models import *
File "/usr/local/lib/python3.5/dist-packages/tensorpack/models/__init__.py", line 49, in<module>
_global_import(module_name)
File "/usr/local/lib/python3.5/dist-packages/tensorpack/models/__init__.py", line 30, in _global_import
p = __import__(name, globals(), locals(), level=1)
File "/usr/local/lib/python3.5/dist-packages/tensorpack/models/batch_norm.py", line 6, in<module>
from tensorflow.contrib.framework import add_model_variable
ImportError: No module named 'tensorflow.contrib'
PaddingRNN
Traceback (most recent call last):
File "train.py", line 255, in<module>main()
File "train.py", line 91, in main
rnn_type = args.rnn_type)
File "/ssd2/liyang/benchmark/PaddingRNN/lstm_tf/ptb_lm_model.py", line 12, in ptb_lm_model
x_place = tf.placeholder(tf.int32, [batch_size, num_steps])
AttributeError: 'module' object has no attribute 'placeholder'
Transformer模型
Traceback (most recent call last):
File "/usr/local/bin/t2t-datagen", line 18, in<module>
from tensor2tensor.bin import t2t_datagen
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/bin/t2t_datagen.py", line 39, in<module>
from tensor2tensor import problems as problems_lib # pylint: disable=unused-import
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/problems.py", line 22, in<module>
from tensor2tensor.utils import registry
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/utils/registry.py", line 551, in<module>
attacks = tf.contrib.framework.deprecated(None, "Use registry.attack")(attack)
AttributeError: 'module' object has no attribute 'contrib'
Traceback (most recent call last):
File "/usr/local/bin/t2t-trainer", line 23, in<module>
from tensor2tensor.bin import t2t_trainer
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/bin/t2t_trainer.py", line 24, in<module>
from tensor2tensor import models # pylint: disable=unused-import
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/models/__init__.py", line 25, in<module>
from tensor2tensor.layers import modalities # pylint: disable=g-import-not-at-top
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/layers/modalities.py", line 28, in<module>
from tensor2tensor.layers import common_attention
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/layers/common_attention.py", line 31, in<module>
from tensor2tensor.layers import area_attention
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/layers/area_attention.py", line 23, in<module>
from tensor2tensor.layers import common_layers
File "/usr/local/lib/python2.7/dist-packages/tensor2tensor/layers/common_layers.py", line 30, in<module>
import tensorflow_probability as tfp
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/__init__.py", line 78, in<module>
from tensorflow_probability.python import *# pylint: disable=wildcard-import
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/python/__init__.py", line 21, in<module>
from tensorflow_probability.python import bijectors
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/python/bijectors/__init__.py", line 46, in<module>
from tensorflow_probability.python.bijectors.matveclu import MatvecLU
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/python/bijectors/matveclu.py", line 24, in<module>
from tensorflow_probability.python.math.linalg import lu_reconstruct
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/python/math/__init__.py", line 22, in<module>
from tensorflow_probability.python.math.diag_jacobian import diag_jacobian
File "/usr/local/lib/python2.7/dist-packages/tensorflow_probability/python/math/diag_jacobian.py", line 24, in<module>
tfe = tf.contrib.eager
AttributeError: 'module' object has no attribute 'contrib'
CycleGAN模型
Traceback (most recent call last):
File "main.py", line 3, in<module>
from tensorflow.examples.tutorials.mnist import input_data
ImportError: No module named 'tensorflow.examples'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: