QUIPP-pipeline icon indicating copy to clipboard operation
QUIPP-pipeline copied to clipboard

ctgan package has error related to synthesizer function

Open edwardchalstrey1 opened this issue 4 years ago • 0 comments

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 avatar Jul 14 '21 14:07 edwardchalstrey1