Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

QUAIL Syntax errors in 5-ml-synthetic-data #97

Open
joshua-oss opened this issue Jun 8, 2021 · 0 comments
Open

QUAIL Syntax errors in 5-ml-synthetic-data #97

joshua-oss opened this issue Jun 8, 2021 · 0 comments
Assignees

Comments

@joshua-oss
Copy link
Contributor

https://github.com/opendp/smartnoise-samples/blob/master/whitepaper-demos/5-ml-synthetic-data.ipynb

In the cell with def QuailSynth(epsilon):

Complains because epsilon is now a required param. Adding epsilon to the PyTorchDPSynthesizer and the gan clears that error, but then the code dies with

~/opt/anaconda3/lib/python3.8/site-packages/torch/nn/modules/linear.py in init(self, in_features, out_features, bias)
74 self.in_features = in_features
75 self.out_features = out_features
---> 76 self.weight = Parameter(torch.Tensor(out_features, in_features))
77 if bias:
78 self.bias = Parameter(torch.Tensor(out_features))

TypeError: new(): argument 'size' must be tuple of ints, but found element of type float at pos

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants