нет атрибута "contrib" для проблем () - PullRequest
0 голосов
/ 19 сентября 2019

Я пытаюсь увидеть доступные проблемы (), но выдает ошибку.Подскажите, пожалуйста, если я что-то упустил

>>> from tensor2tensor import problems
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\\Anaconda3\lib\site-packages\tensor2tensor\problems.py", line 22, in <module>
    from tensor2tensor.utils import registry
  File "C:\Users\\Anaconda3\lib\site-packages\tensor2tensor\utils\registry.py", line 551, in <module>
    attacks = tf.contrib.framework.deprecated(None, "Use registry.attack")(attack)
AttributeError: module 'tensorflow' has no attribute 'contrib'
>>> tf.__version__
'2.0.0-beta1'
>>>

Я работаю над Windows

...