A segmentation fault error occurs when running the CTGAN model using the provided example code in the example/ directory with the SDG framework.
This error was resolved by upgrading the scikit-learn version from 1.4.3 to 1.5.1.
Reproduce
Clone the SDG repository and navigate to the example/ directory.
Ensure the xxx_training_data.csv file is present in the directory.
Run the sdg_script.py script using Python 3.12 with the command: python -X faulthandler sdg_script.py.
Expected behavior
The script should run without errors and produce the following log output:
2024-07-30 08:52:24.002 | INFO | sdgx.models.ml.single_table.ctgan:fit:221 - CTGAN training finished.
2024-07-30 08:52:24.002 | INFO | sdgx.synthesizer:fit:324 - Model fit... Finished
Description
A segmentation fault error occurs when running the CTGAN model using the provided example code in the
example/
directory with the SDG framework.This error was resolved by upgrading the scikit-learn version from 1.4.3 to 1.5.1.
Reproduce
example/
directory.xxx_training_data.csv
file is present in the directory.sdg_script.py
script using Python 3.12 with the command:python -X faulthandler sdg_script.py
.Expected behavior
The script should run without errors and produce the following log output:
Context
Error message
sdg_script.py