Python 3.8.20
import tensorflow as tf
print(tf.version)
2.5.3
print(tf.keras.version)
2.5.0
import cv2
print(cv2.version)
4.0.1
import segmentation_models as sm
Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Users...\AppData\Local\Temp\ipykernel_5172\459255767.py", line 1, in <cell line: 1>
import segmentation_models as sm
AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
I already installed the above python, tensorflow, opencv, spyder version in my laptop!
I found error for the given code !
import tensorflow as tf
from tensorflow import keras # Use TensorFlow's Keras
import segmentation_models as sm
I am waiting your reply and Thank you so much for your support!