Skip to content

Which version of spyder, python, keras and tensorflow is used for the code #228, #229 video #94

@kyawtkyawthtay

Description

@kyawtkyawthtay

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions