yuxiangw / autodp

autodp: A flexible and easy-to-use package for differential privacy
Apache License 2.0
265 stars 53 forks source link

Issue with SSP_scale and AdaSSP_scale inheritance #22

Closed pvarshney1729 closed 3 years ago

pvarshney1729 commented 3 years ago

I was running the tutorial_AdaSSP_vs_noisyGD.ipynb Tutorial Notebook on Google Colab. I encountered the following issue while running the 4th Cell Block of the notebook:

AttributeError: 'SSP_scale' object has no attribute 'set_all_representation'.

The expanded error is as follows:

Screenshot 2021-09-20 9 08 06 PM Screenshot 2021-09-20 9 08 48 PM

Kindly have a look at the earliest @yuxiangw. Thanks in advance!

yuxiangw commented 3 years ago

The "pip install" version is not updated. You may take the version in either the master branch or the "new_tutorials" branch and they both should work. We will work to update the "pip install" version later today.

yuxiangw commented 3 years ago

Hi, just a message to say that the "pip install" version should work now. Also all tutorials are merged into the master branch. Closing the issue now. Let me know if you are running into additional issues.