Skip to content

Showing warning just after importing tf_keras #778

Closed
@kr-Ayaman

Description

@kr-Ayaman

when i run the code
import tf_keras

the out output is

WARNING:tensorflow:From C:\Users\kumar\AppData\Local\Programs\Python\Python312\Lib\site-packages\tf_keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

I am not even using tensorflow library but I still get this warning

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions