tensorflow / tensorflow/privacy

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

Open
#608 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
477
Avg merge
22h 12m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failing import of DPKerasSGDOptimizer with TensorFlow 2.18.0 and tensorflow-privacy 0.9.0. Check the projects' declared version requirements and release information, then confirm a compatible version pair or document that the reported combination is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.