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
In K-Means Example, when i am running "from tensorflow.contrib.factorization import KMeans" line, i am getting an error "ModuleNotFoundError: No module named 'tensorflow.contrib'"
#404
Open
mdabaig opened this issue
Dec 30, 2021
· 2 comments
import numpy as np
import tensorflow as tf
from tensorflow.contrib.factorization import KMeans
Ignore all GPUs, tf random forest does not benefit from it.
import os
os.environ["CUDA_VISIBLE_DEVICES"] = ""
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_15132/3974994213.py in
3 import numpy as np
4 import tensorflow as tf
----> 5 from tensorflow.contrib.factorization import KMeans
6
7 # Ignore all GPUs, tf random forest does not benefit from it.
ModuleNotFoundError: No module named 'tensorflow.contrib'
No description provided.
The text was updated successfully, but these errors were encountered: