Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctgan package has error related to synthesizer function #67

Open
edwardchalstrey1 opened this issue Jul 14, 2021 · 0 comments
Open

ctgan package has error related to synthesizer function #67

edwardchalstrey1 opened this issue Jul 14, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@edwardchalstrey1
Copy link
Collaborator

I'm running make with enabled set to true on ctgan-example-0.json but getting the following error despite CTGAN library being installed:

(py38) MAC-ATI0379:QUIPP-pipeline echalstrey$ make
mkdir -p $(dirname synth-output/2011-census-test-1/synthetic_data_1.csv) && \
	cp run-inputs/2011-census-test-1.json $(dirname synth-output/2011-census-test-1/synthetic_data_1.csv) && \
	python synthesize.py -i run-inputs/2011-census-test-1.json -o $(dirname synth-output/2011-census-test-1/synthetic_data_1.csv)
python metrics/privacy-metrics/disclosure_risk.py -i run-inputs/2011-census-test-1.json -o $(dirname synth-output/2011-census-test-1/privacy_disclosure_risk.json)
mkdir -p $(dirname synth-output/ctgan-example-0/synthetic_data_1.csv) && \
	cp run-inputs/ctgan-example-0.json $(dirname synth-output/ctgan-example-0/synthetic_data_1.csv) && \
	python synthesize.py -i run-inputs/ctgan-example-0.json -o $(dirname synth-output/ctgan-example-0/synthetic_data_1.csv)
[ERROR] CTGAN library needs to be installed.
Error message: No module named 'ctgan.synthesizer'
make: *** [synth-output/ctgan-example-0/synthetic_data_1.csv] Error 1
@edwardchalstrey1 edwardchalstrey1 added the bug Something isn't working label Jul 14, 2021
@OscartGiles OscartGiles self-assigned this Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants