PRNet icon indicating copy to clipboard operation
PRNet copied to clipboard

ModuleNotFoundError: No module named 'tensorflow.contrib'

Open apexli opened this issue 5 years ago • 2 comments

I am using python 3.8 (64 bit) and tensorflow version (2.3.0) when I try to run python demo.py I got the following error "ModuleNotFoundError: No module named 'tensorflow.contrib'" I know that in tensorflow 2 contrib doesn't exist so is there any alternate library that i can use pls help

apexli avatar Aug 09 '20 14:08 apexli

@apexli You can find some information here!
https://github.com/tensorflow/tensorflow/issues/30794 It might be a tensorflow version problem.

vitahsu avatar Aug 20 '20 09:08 vitahsu

I am using python 3.8 (64 bit) and tensorflow version (2.3.0) when I try to run python demo.py I got the following error "ModuleNotFoundError: No module named 'tensorflow.contrib'" I know that in tensorflow 2 contrib doesn't exist so is there any alternate library that i can use pls help

you should use Tensorflow1.x version

VegetableWithChicken avatar Aug 12 '21 09:08 VegetableWithChicken