Skip to content

module 'tensorflow.python.util.tf_export' has no attribute 'ESTIMATOR_API_NAME' #608

@kaustubhnair02

Description

@kaustubhnair02

I am currently using tensorflow version 2.18.0 and tensorflow-privacy version 0.9.0. Which other version of both of these will be compatible?
code:
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
facing error from this line:from tensorflow_privacy.privacy.optimizers.dp_optimizer_keras import DPKerasSGDOptimizer
from tensorflow_privacy.privacy.analysis import compute_dp_sgd_privacy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions