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

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

@joshua-oss

Description

@joshua-oss

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions