You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed smartnoise-synth 1.0.1 and I'm trying to run:
from snsynth.pytorch.nn import DPGAN
from snsynth.pytorch import PytorchDPSynthesizer
pums = pd.read_csv("PUMS.csv")
synth = PytorchDPSynthesizer(epsilon=3.0, gan=DPGAN())
synth.fit(pums, preprocessor_eps=1.0)
pums_synth = synth.sample(1000)
The error message:
...\lib\site-packages\opacus\privacy_engine.py:638: UserWarning: The sample rate will be defined from batch_size and sample_size.The returned privacy budget will be incorrect.
Is there a way to correct this? Or how can I circumvent this error?
Thanks in advance for your help and time.
The text was updated successfully, but these errors were encountered:
My environment (Windows 11):
Python 3.8.17
ipykernel 6.19.2
ipython 8.12.0
numpy 1.24.4
opacus 0.14.0
opendp 0.7.0
pac-synth 0.0.8
smartnoise-sql 1.0.1
smartnoise-synth 1.0.1
torch 1.13.1
I installed smartnoise-synth 1.0.1 and I'm trying to run:
from snsynth.pytorch.nn import DPGAN
from snsynth.pytorch import PytorchDPSynthesizer
pums = pd.read_csv("PUMS.csv")
synth = PytorchDPSynthesizer(epsilon=3.0, gan=DPGAN())
synth.fit(pums, preprocessor_eps=1.0)
pums_synth = synth.sample(1000)
The error message:
...\lib\site-packages\opacus\privacy_engine.py:638: UserWarning: The sample rate will be defined from
batch_size
andsample_size
.The returned privacy budget will be incorrect.Is there a way to correct this? Or how can I circumvent this error?
Thanks in advance for your help and time.
The text was updated successfully, but these errors were encountered: