pytorch / opacus

Training PyTorch models with differential privacy
https://opacus.ai
Apache License 2.0
1.65k stars 328 forks source link

'PRVAccountant' object has no attribute 'get_privacy_spent' #611

Closed feigei12346 closed 5 months ago

feigei12346 commented 7 months ago

🐛 Bug

Please reproduce using our template Colab and post here the link

To Reproduce

:warning: We cannot help you without you sharing reproducible code. Do not ignore this part :) Steps to reproduce the behavior:

1.AttributeError: 'PRVAccountant' object has no attribute 'get_privacy_spent' 2. 3.

Expected behavior

Environment

Please copy and paste the output from our environment collection script (or fill out the checklist below manually).

You can get the script and run it with:

wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

Additional context

HuanyuZhang commented 7 months ago

Could you please provide your code which triggers the error?

HuanyuZhang commented 5 months ago

close the issue due to not receiving response.