Git Product home page Git Product logo

variational-bayesian-unlearning's People

Contributors

qphong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

variational-bayesian-unlearning's Issues

Refactor tensorflow 1.14.0 to the recent versions of tensorflow.

(venv) in C:\dev\variational-bayesian-unlearning on main ● ?4 ~3 λ python run.py --exper moon --appr gauss_fullcov --nsample 1000 --ntrain 30000 --folder result
2024-03-06 19:13:37.347165: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
WARNING:tensorflow:From C:\dev\variational-bayesian-unlearning\venv\lib\site-packages\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.

WARNING:tensorflow:From C:\dev\variational-bayesian-unlearning\venv\lib\site-packages\tensorflow_probability\python\internal\backend\numpy\_utils.py:48: The name tf.logging.TaskLevelStatusMessage is deprecated. Please use tf.compat.v1.logging.TaskLevelStatusMessage instead.

WARNING:tensorflow:From C:\dev\variational-bayesian-unlearning\venv\lib\site-packages\tensorflow_probability\python\internal\backend\numpy\_utils.py:48: The name tf.control_flow_v2_enabled is deprecated. Please use tf.compat.v1.control_flow_v2_enabled instead.

also this,

WARNING:tensorflow:From C:\dev\variational-bayesian-unlearning\venv\lib\site-packages\tensorflow_probability\python\distributions\distribution.py:342: MultivariateNormalFullCovariance.__init__ (from tensorflow_probability.python.distributions.mvn_full_covariance) is deprecated and will be removed after 2019-12-01.
Instructions for updating:
`MultivariateNormalFullCovariance` is deprecated, use `MultivariateNormalTriL(loc=loc, scale_tril=tf.linalg.cholesky(covariance_matrix))` instead.
Traceback (most recent call last):
  File "C:\dev\variational-bayesian-unlearning\run.py", line 189, in <module>
    unlearn = Unlearnizable(dim, nparam,
  File "C:\dev\variational-bayesian-unlearning\unlearn.py", line 54, in __init__
    self.learn_op = tf.train.AdamOptimizer().minimize(
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'AdamOptimizer'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.