Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

ModuleNotFoundError: No module named 'tensorflow.contrib' #384

Open
DrR0bot opened this issue Jun 10, 2022 · 2 comments
Open

ModuleNotFoundError: No module named 'tensorflow.contrib' #384

DrR0bot opened this issue Jun 10, 2022 · 2 comments

Comments

@DrR0bot
Copy link

DrR0bot commented Jun 10, 2022

Got this error.

ERROR: seq2seq (unittest.loader._FailedTest)

ImportError: Failed to import test module: seq2seq
Traceback (most recent call last):
File "C:\Users\jtobo\AppData\Local\Programs\Python\Python39\lib\unittest\loader.py", line 154, in loadTestsFromName
module = import(module_name)
File "C:\Users\jtobo\seq2seq\seq2seq_init_.py", line 25, in
from seq2seq import data
File "C:\Users\jtobo\seq2seq\seq2seq\data_init_.py", line 17, in
from seq2seq.data import input_pipeline
File "C:\Users\jtobo\seq2seq\seq2seq\data\input_pipeline.py", line 32, in
from tensorflow.contrib.slim.python.slim.data import tfexample_decoder
ModuleNotFoundError: No module named 'tensorflow.contrib'


Ran 1 test in 0.000s

FAILED (errors=1)

@SCUTQiaoRui
Copy link

SCUTQiaoRui commented Jun 10, 2022 via email

@DrR0bot
Copy link
Author

DrR0bot commented Jun 10, 2022

Just checking over this post...
https://stackoverflow.com/questions/59843037/no-module-named-tensorflow-contrib

Perhaps is because I am using Tensorflow 2?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants