Resume SynthData0523 main/c2 batch 2
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+21
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/adapter_transforms_applied.jsonAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/model_input_manifest.jsonAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/staged_features.jsonAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/test.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/train.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/val.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/_ctgan_generate.pyAdded+18
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/_ctgan_train.pyAdded+17
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/ctgan_metadata.jsonAdded+32
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/gen_20260504_152353.logAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/input_snapshot.jsonAdded+36
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.ptAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/train_20260504_152304.logAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/normalized_schema_snapshot.jsonAdded+144
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/public_gate_report.jsonAdded+37
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/staged_input_manifest.jsonAdded+149
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/run_config.jsonAdded+46
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/runtime_result.jsonAdded+27
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/adapter_report.jsonAdded+7
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/adapter_transforms_applied.jsonAdded+1
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/model_input_manifest.jsonAdded+151
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/staged_features.jsonAdded+37
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/test.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/val.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/_ctgan_generate.pyAdded+18
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/_ctgan_train.pyAdded+17
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/ctgan_metadata.jsonAdded+32
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/gen_20260504_152503.logAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/input_snapshot.jsonAdded+36
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.ptAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/train_20260504_152412.logAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/normalized_schema_snapshot.jsonAdded+144
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/public_gate_report.jsonAdded+37
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/staged_input_manifest.jsonAdded+149
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/run_config.jsonAdded+46
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/runtime_result.jsonAdded+27
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/adapter_report.jsonAdded+7
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/adapter_transforms_applied.jsonAdded+1
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/model_input_manifest.jsonAdded+151
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/staged_features.jsonAdded+37
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/test.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/val.csvAdded+3
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/_ctgan_generate.pyAdded+18
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/_ctgan_train.pyAdded+17
- SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/ctgan-c2-1382-20260504_152602.csvAdded+3
3007 unmodified lines3008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313007 unmodified linesSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/public_gate/staged_input_manifest.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/runtime_result.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/adapter_report.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/adapter_transforms_applied.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/model_input_manifest.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/staged_features.json filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/test.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/train.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/val.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/gen_20260504_152353.log filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/train_20260504_152304.log filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/test.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/val.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/gen_20260504_152503.log filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/train_20260504_152412.log filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/test.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/val.csv filter=lfs diff=lfs merge=lfs -textSynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/ctgan-c2-1382-20260504_152602.csv filter=lfs diff=lfs merge=lfs -text123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:0b224c47a37c282fdd29e5748a4a31b415e3adda43beeb37549cd05a13ae5a55size 4130123version https://git-lfs.github.com/spec/v1oid sha256:37511511f1d7cb0e004f9d7305c900644ebefe672c9a1a418c1f29b36786fabdsize 659123version https://git-lfs.github.com/spec/v1oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73size 5273123version https://git-lfs.github.com/spec/v1oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434ddsize 41565123version https://git-lfs.github.com/spec/v1oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01size 5176123456789101112131415161718import syssys.path.insert(0, "/work")from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fixapply_ctgan_inverse_fix()import pandas as pdfrom ctgan.synthesizers.ctgan import CTGANmodel = CTGAN.load("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt")total = 1382chunk = min(50000, total) if total > 50000 else totalparts = []left = totalwhile left > 0: take = min(chunk, left) parts.append(model.sample(take)) left -= takesampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]sampled.to_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csv")1234567891011121314151617import pandas as pdfrom ctgan.synthesizers.ctgan import CTGAN
data = pd.read_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csv")discrete_columns = ['buying', 'maint', 'doors', 'persons', 'lug_boot', 'safety', 'class']model = CTGAN( embedding_dim=8, generator_dim=(16, 16), discriminator_dim=(16, 16), batch_size=32, pac=1, epochs=50, verbose=True,)model.fit(data, discrete_columns)model.save("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt")print("[CTGAN] Saved model ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt")123version https://git-lfs.github.com/spec/v1oid sha256:29e976f587efbc955df869946a4bb105ce51b79458d3c62ceca09ac148b6ed20size 416161234567891011121314151617181920212223242526272829303132{ "columns": [ { "name": "buying", "type": "categorical" }, { "name": "maint", "type": "categorical" }, { "name": "doors", "type": "categorical" }, { "name": "persons", "type": "categorical" }, { "name": "lug_boot", "type": "categorical" }, { "name": "safety", "type": "categorical" }, { "name": "class", "type": "categorical" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:9acf86561cff1e9c6a4c9c06233f1f9190b7ed2b840fc2e34e276dbd370ea385size 297123456789101112131415161718192021222324252627282930313233343536{ "dataset_id": "c2", "model": "ctgan", "inputs": { "train_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", "exists": true, "size": 42948, "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def" }, "val_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", "exists": true, "size": 5349, "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9" }, "test_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv", "exists": true, "size": 5448, "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a" }, "profile_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json", "exists": true, "size": 3240, "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b" }, "contract_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json", "exists": true, "size": 3731, "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009" } }}123version https://git-lfs.github.com/spec/v1oid sha256:39c7bef1dfa571bec7a879d742cb40f266707e489676ce3b74528b1c78d49d51size 279437123version https://git-lfs.github.com/spec/v1oid sha256:34ee1fa8c63c912749b01e9ecd9d79d28d46671f3739ed5d339a692b3f263b85size 10893123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144{ "dataset_id": "c2", "target_column": "class", "task_type": "classification", "columns": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637{ "dataset_id": "c2", "status": "pass", "checks": [ { "check_id": "PG001_csv_parse_ok", "status": "pass" }, { "check_id": "PG002_split_header_consistent", "status": "pass" }, { "check_id": "PG003_profile_header_match", "status": "pass" }, { "check_id": "PG004_missing_token_normalized", "status": "pass" }, { "check_id": "PG005_semantic_type_validated", "status": "pass" }, { "check_id": "PG006_target_defined_and_valid", "status": "pass" } ], "target_column": "class", "task_type": "classification", "input_splits": { "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149{ "dataset_id": "c2", "target_column": "class", "task_type": "classification", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/public_gate/public_gate_report.json", "column_schema": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "schema_version": 1, "recorded_at": "2026-05-04T15:23:04", "dataset_id": "c2", "model": "ctgan", "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304", "dataset_source_requested": "new", "dataset_source_resolved": "new", "cli_args": { "model": "ctgan", "dataset": "c2", "dataset_source": "new", "train": true, "generate": true, "num_rows": 0, "epochs": null, "output_dir": null, "model_dir": null, "work_dir": null, "resume": false, "no_stats": false }, "resolved": { "num_rows": 1382, "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt", "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csv" }, "input_artifacts": { "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/public_gate/public_gate_report.json", "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/public_gate/staged_input_manifest.json", "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/model_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/staged_features.json", "target_column": "class", "task_type": "classification" }, "env_overrides": { "BENCHMARK_CTGAN_GPUS": "device=3", "CTGAN_BATCH_SIZE": "32", "CTGAN_DEFAULT_EPOCHS": "50", "CTGAN_DISCRIMINATOR_DIMS": "16,16", "CTGAN_EMBEDDING_DIM": "8", "CTGAN_GENERATOR_DIMS": "16,16", "CTGAN_PAC": "1" }}123456789101112131415161718192021222324252627{ "dataset_id": "c2", "model": "ctgan", "run_id": "ctgan-c2-20260504_152304", "public_gate_status": "pass", "adapter_ready_status": "pass", "train_status": "success", "generate_status": "success", "reason_code": null, "reason_detail": null, "artifacts": { "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csv", "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.pt" }, "timings": { "train": { "started_at": "2026-05-04T15:23:04", "ended_at": "2026-05-04T15:23:53", "duration_sec": 49.624 }, "generate": { "started_at": "2026-05-04T15:23:53", "ended_at": "2026-05-04T15:23:59", "duration_sec": 6.006 } }}1234567{ "adapter_ready_status": "pass", "adapter_fail_reason_code": null, "adapter_fail_detail": null, "adapter_transforms_applied": [], "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/model_input_manifest.json"}1[]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151{ "dataset_id": "c2", "model": "ctgan", "target_column": "class", "task_type": "classification", "column_schema": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ], "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/public_gate/staged_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152304/public_gate/public_gate_report.json"}12345678910111213141516171819202122232425262728293031323334353637[ { "feature_name": "buying", "data_type": "categorical", "is_target": false }, { "feature_name": "maint", "data_type": "categorical", "is_target": false }, { "feature_name": "doors", "data_type": "categorical", "is_target": false }, { "feature_name": "persons", "data_type": "categorical", "is_target": false }, { "feature_name": "lug_boot", "data_type": "categorical", "is_target": false }, { "feature_name": "safety", "data_type": "categorical", "is_target": false }, { "feature_name": "class", "data_type": "categorical", "is_target": true }]123version https://git-lfs.github.com/spec/v1oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73size 5273123version https://git-lfs.github.com/spec/v1oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434ddsize 41565123version https://git-lfs.github.com/spec/v1oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01size 5176123456789101112131415161718import syssys.path.insert(0, "/work")from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fixapply_ctgan_inverse_fix()import pandas as pdfrom ctgan.synthesizers.ctgan import CTGANmodel = CTGAN.load("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt")total = 1382chunk = min(50000, total) if total > 50000 else totalparts = []left = totalwhile left > 0: take = min(chunk, left) parts.append(model.sample(take)) left -= takesampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]sampled.to_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csv")1234567891011121314151617import pandas as pdfrom ctgan.synthesizers.ctgan import CTGAN
data = pd.read_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csv")discrete_columns = ['buying', 'maint', 'doors', 'persons', 'lug_boot', 'safety', 'class']model = CTGAN( embedding_dim=16, generator_dim=(32, 32), discriminator_dim=(32, 32), batch_size=64, pac=1, epochs=100, verbose=True,)model.fit(data, discrete_columns)model.save("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt")print("[CTGAN] Saved model ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt")123version https://git-lfs.github.com/spec/v1oid sha256:1a3894c926a9de28a2c5d069c22c5841dba3d46059ebb36e4d9d6a34cf64b9d7size 416281234567891011121314151617181920212223242526272829303132{ "columns": [ { "name": "buying", "type": "categorical" }, { "name": "maint", "type": "categorical" }, { "name": "doors", "type": "categorical" }, { "name": "persons", "type": "categorical" }, { "name": "lug_boot", "type": "categorical" }, { "name": "safety", "type": "categorical" }, { "name": "class", "type": "categorical" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:4fdf3116f7dbf5aa10526c09e0aa425ff5d1d7b6d646d7493b1947d94e53cdc3size 297123456789101112131415161718192021222324252627282930313233343536{ "dataset_id": "c2", "model": "ctgan", "inputs": { "train_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", "exists": true, "size": 42948, "sha256": "17bc560fa96bd00fb3b526e1e65bc91210b701d0d0a4e8bb9b4c5196cab56def" }, "val_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", "exists": true, "size": 5349, "sha256": "61e565eca62e65a7dccd9d51039a3170413379e10fc494e25870e7c4294863c9" }, "test_csv": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv", "exists": true, "size": 5448, "sha256": "cbcbb062a1faf5fa44b66c80532baa229e05b94fc42137269761e6c6d84af20a" }, "profile_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_profile.json", "exists": true, "size": 3240, "sha256": "526b7163b2076c93c0bf4638438081ee8a6907065d5b608faa40d1a3dbc2a27b" }, "contract_json": { "path": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/artifacts/data_core/tabular/c2/c2-dataset_contract_v1.json", "exists": true, "size": 3731, "sha256": "fb595a876054c2ee9b4e10cfe83a5691588de1d25466cbb9d473c18ad3604009" } }}123version https://git-lfs.github.com/spec/v1oid sha256:374f0a3ab118b4c358cfa846e538a91d1c0312a5d866fcadfd475f070e6873d8size 295011123version https://git-lfs.github.com/spec/v1oid sha256:13eea713840c309e407bb778338ff2e10f7e51ab12a6d203f926b413c280d5adsize 20259123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144{ "dataset_id": "c2", "target_column": "class", "task_type": "classification", "columns": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637{ "dataset_id": "c2", "status": "pass", "checks": [ { "check_id": "PG001_csv_parse_ok", "status": "pass" }, { "check_id": "PG002_split_header_consistent", "status": "pass" }, { "check_id": "PG003_profile_header_match", "status": "pass" }, { "check_id": "PG004_missing_token_normalized", "status": "pass" }, { "check_id": "PG005_semantic_type_validated", "status": "pass" }, { "check_id": "PG006_target_defined_and_valid", "status": "pass" } ], "target_column": "class", "task_type": "classification", "input_splits": { "train": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-train.csv", "val": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-val.csv", "test": "/data/jialinzhang/SynthesizePipeline-server/DatasetNew/c2/c2-test.csv" }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149{ "dataset_id": "c2", "target_column": "class", "task_type": "classification", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/public_gate/public_gate_report.json", "column_schema": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ]}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "schema_version": 1, "recorded_at": "2026-05-04T15:24:12", "dataset_id": "c2", "model": "ctgan", "work_dir": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412", "dataset_source_requested": "new", "dataset_source_resolved": "new", "cli_args": { "model": "ctgan", "dataset": "c2", "dataset_source": "new", "train": true, "generate": true, "num_rows": 0, "epochs": null, "output_dir": null, "model_dir": null, "work_dir": null, "resume": false, "no_stats": false }, "resolved": { "num_rows": 1382, "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt", "output_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csv" }, "input_artifacts": { "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/public_gate/public_gate_report.json", "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/public_gate/staged_input_manifest.json", "model_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/model_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/staged_features.json", "target_column": "class", "task_type": "classification" }, "env_overrides": { "BENCHMARK_CTGAN_GPUS": "device=3", "CTGAN_BATCH_SIZE": "64", "CTGAN_DEFAULT_EPOCHS": "100", "CTGAN_DISCRIMINATOR_DIMS": "32,32", "CTGAN_EMBEDDING_DIM": "16", "CTGAN_GENERATOR_DIMS": "32,32", "CTGAN_PAC": "1" }}123456789101112131415161718192021222324252627{ "dataset_id": "c2", "model": "ctgan", "run_id": "ctgan-c2-20260504_152412", "public_gate_status": "pass", "adapter_ready_status": "pass", "train_status": "success", "generate_status": "success", "reason_code": null, "reason_detail": null, "artifacts": { "synthetic_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csv", "model_path": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.pt" }, "timings": { "train": { "started_at": "2026-05-04T15:24:12", "ended_at": "2026-05-04T15:25:03", "duration_sec": 50.201 }, "generate": { "started_at": "2026-05-04T15:25:03", "ended_at": "2026-05-04T15:25:08", "duration_sec": 5.617 } }}1234567{ "adapter_ready_status": "pass", "adapter_fail_reason_code": null, "adapter_fail_detail": null, "adapter_transforms_applied": [], "model_input_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/model_input_manifest.json"}1[]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151{ "dataset_id": "c2", "model": "ctgan", "target_column": "class", "task_type": "classification", "column_schema": [ { "name": "buying", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "med", "high", "low" ] } }, { "name": "maint", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "vhigh", "low", "med", "high" ] } }, { "name": "doors", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "2", "5more", "3", "4" ] } }, { "name": "persons", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "2", "4", "more" ] } }, { "name": "lug_boot", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "small", "big", "med" ] } }, { "name": "safety", "role": "feature", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 3, "unique_ratio": 0.002171, "example_values": [ "low", "high", "med" ] } }, { "name": "class", "role": "target", "semantic_type": "categorical", "nullable": false, "missing_tokens": [], "parse_format": null, "impute_strategy": "mode", "profile_stats": { "missing_rate": 0.0, "unique_count": 4, "unique_ratio": 0.002894, "example_values": [ "unacc", "good", "acc", "vgood" ] } } ], "public_manifest": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/public_gate/staged_input_manifest.json", "train_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csv", "val_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/val.csv", "test_csv": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/test.csv", "features_json": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/staged/public/staged_features.json", "public_gate_report": "/data/jialinzhang/SynthesizePipeline-server/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152412/public_gate/public_gate_report.json"}12345678910111213141516171819202122232425262728293031323334353637[ { "feature_name": "buying", "data_type": "categorical", "is_target": false }, { "feature_name": "maint", "data_type": "categorical", "is_target": false }, { "feature_name": "doors", "data_type": "categorical", "is_target": false }, { "feature_name": "persons", "data_type": "categorical", "is_target": false }, { "feature_name": "lug_boot", "data_type": "categorical", "is_target": false }, { "feature_name": "safety", "data_type": "categorical", "is_target": false }, { "feature_name": "class", "data_type": "categorical", "is_target": true }]123version https://git-lfs.github.com/spec/v1oid sha256:b48114a7d0bc5bd9a07920f903c8d4aba8bf98bf2a66a050da03588b0245ca73size 5273123version https://git-lfs.github.com/spec/v1oid sha256:4aed00c2c2b3f88a55a7ebff31b2e1b5e0e32fb0a7267e0b9d2779cd23e434ddsize 41565123version https://git-lfs.github.com/spec/v1oid sha256:26e90c1170a57a14c05832ac88027722b1f3848f9662c7c09ef7c93dcba4cc01size 5176123456789101112131415161718import syssys.path.insert(0, "/work")from src.SpecificModels.ctgan_rdt_inverse_fix import apply_ctgan_inverse_fixapply_ctgan_inverse_fix()import pandas as pdfrom ctgan.synthesizers.ctgan import CTGANmodel = CTGAN.load("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/models_150epochs/ctgan_150epochs.pt")total = 1382chunk = min(50000, total) if total > 50000 else totalparts = []left = totalwhile left > 0: take = min(chunk, left) parts.append(model.sample(take)) left -= takesampled = pd.concat(parts, ignore_index=True) if len(parts) > 1 else parts[0]sampled.to_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/ctgan-c2-1382-20260504_152602.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/ctgan-c2-1382-20260504_152602.csv")1234567891011121314151617import pandas as pdfrom ctgan.synthesizers.ctgan import CTGAN
data = pd.read_csv("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/staged/public/train.csv")discrete_columns = ['buying', 'maint', 'doors', 'persons', 'lug_boot', 'safety', 'class']model = CTGAN( embedding_dim=32, generator_dim=(64, 64), discriminator_dim=(64, 64), batch_size=128, pac=1, epochs=150, verbose=True,)model.fit(data, discrete_columns)model.save("/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/models_150epochs/ctgan_150epochs.pt")print("[CTGAN] Saved model ->", "/work/output-Benchmark-trainonly-v1/c2/ctgan/ctgan-c2-20260504_152521/models_150epochs/ctgan_150epochs.pt")123version https://git-lfs.github.com/spec/v1oid sha256:f9e5f49ea1929935b2cbff19d40b624b643fce1ce9b25dcd47f8a95b18c8e658size 41931.gitattributes+21
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/adapter_transforms_applied.jsonAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/ctgan/model_input_manifest.jsonAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/staged_features.jsonAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/test.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/train.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260501_070350/staged/public/val.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/_ctgan_generate.pyAdded+18
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/_ctgan_train.pyAdded+17
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/ctgan-c2-1382-20260504_152353.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/ctgan_metadata.jsonAdded+32
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/gen_20260504_152353.logAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/input_snapshot.jsonAdded+36
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/ctgan_50epochs.ptAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/models_50epochs/train_20260504_152304.logAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/normalized_schema_snapshot.jsonAdded+144
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/public_gate_report.jsonAdded+37
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/public_gate/staged_input_manifest.jsonAdded+149
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/run_config.jsonAdded+46
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/runtime_result.jsonAdded+27
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/adapter_report.jsonAdded+7
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/adapter_transforms_applied.jsonAdded+1
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/ctgan/model_input_manifest.jsonAdded+151
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/staged_features.jsonAdded+37
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/test.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/train.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152304/staged/public/val.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/_ctgan_generate.pyAdded+18
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/_ctgan_train.pyAdded+17
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/ctgan-c2-1382-20260504_152503.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/ctgan_metadata.jsonAdded+32
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/gen_20260504_152503.logAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/input_snapshot.jsonAdded+36
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/ctgan_100epochs.ptAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/models_100epochs/train_20260504_152412.logAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/normalized_schema_snapshot.jsonAdded+144
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/public_gate_report.jsonAdded+37
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/public_gate/staged_input_manifest.jsonAdded+149
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/run_config.jsonAdded+46
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/runtime_result.jsonAdded+27
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/adapter_report.jsonAdded+7
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/adapter_transforms_applied.jsonAdded+1
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/ctgan/model_input_manifest.jsonAdded+151
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/staged_features.jsonAdded+37
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/test.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/train.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152412/staged/public/val.csvAdded+3
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/_ctgan_generate.pyAdded+18
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/_ctgan_train.pyAdded+17
SynthData0523/main/c2/ctgan/ctgan-c2-20260504_152521/ctgan-c2-1382-20260504_152602.csvAdded+3