Add files using upload-large-folder tool
Browse filesFiles changed (21)
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/_ctgan_generate.pyAdded+18
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/_ctgan_train.pyAdded+17
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan-c18-103976-20260512_083614.csvAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan_metadata.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan_train_prepared.csvAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/gen_20260512_083614.logAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/input_snapshot.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/ctgan_50epochs.ptAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/train_20260511_052110.logAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/run_config.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/runtime_result.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/adapter_report.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/model_input_manifest.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/test.csvAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/train.csvAdded+3
- syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/val.csvAdded+3
123456789101112131415161718import 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/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/ctgan_50epochs.pt")total = 103976chunk = 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/c18/ctgan/ctgan-c18-20260511_052106/ctgan-c18-103976-20260512_083614.csv", index=False)print("[CTGAN] Generated", total, "rows in", len(parts), "chunks ->", "/work/output-Benchmark-trainonly-v1/c18/ctgan/ctgan-c18-20260511_052106/ctgan-c18-103976-20260512_083614.csv")1234567891011121314151617import pandas as pdfrom ctgan.synthesizers.ctgan import CTGAN
data = pd.read_csv("/work/output-Benchmark-trainonly-v1/c18/ctgan/ctgan-c18-20260511_052106/ctgan_train_prepared.csv")discrete_columns = ['country', 'description', 'designation', 'province', 'region_1', 'region_2', 'taster_name', 'taster_twitter_handle', 'title', 'variety', 'winery']model = CTGAN( embedding_dim=4, generator_dim=(8, 8), discriminator_dim=(8, 8), batch_size=4, pac=1, epochs=50, verbose=True,)model.fit(data, discrete_columns)model.save("/work/output-Benchmark-trainonly-v1/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/ctgan_50epochs.pt")print("[CTGAN] Saved model ->", "/work/output-Benchmark-trainonly-v1/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/ctgan_50epochs.pt")123version https://git-lfs.github.com/spec/v1oid sha256:cc1c72fe2070c3164862dd55b9b9157ad1d4df098c49848dfebdb16b40ae31f7size 44702713123version https://git-lfs.github.com/spec/v1oid sha256:0ce70ca4107634e7429768841842833a760655af3d4d43b787f735a8b3e2907asize 964123version https://git-lfs.github.com/spec/v1oid sha256:f9d0f4861cd488757e8489f63c9ecdbece64a3397ecfa3dcd59ed2cbb3807fdcsize 8152223123version https://git-lfs.github.com/spec/v1oid sha256:38cecd657e8654d180231e2267d55086b037a6767567cbfe288e298b4e26dab6size 304123version https://git-lfs.github.com/spec/v1oid sha256:32f3ce9b045a2f4c804a26c2dda5da0e9c450c6e463eb17d1a4e7155067f46a1size 1361123version https://git-lfs.github.com/spec/v1oid sha256:0d55145e0cb30decd982604c86fbc73307b27c52f2498a6e68841791e9464f5csize 13987531981123version https://git-lfs.github.com/spec/v1oid sha256:7c2cc2dbf940c39b9a6d160d59d134aadc48b63aea91fc92a5c6c1eee9ed56a7size 12705123version https://git-lfs.github.com/spec/v1oid sha256:ca33a02c28873c5ec5fec52da747d206cd9e461100244e401a7a2e5ef3cba096size 8391123version https://git-lfs.github.com/spec/v1oid sha256:27f1ca3c2a10e936a41ba26048d2f0bc62addbfac55033a559ba761621c8ed22size 921123version https://git-lfs.github.com/spec/v1oid sha256:6e9173a59d0e5b7e5df2f88faff642b3fe22d3f0b3ed8ab20dabde2303d8c993size 9187123version https://git-lfs.github.com/spec/v1oid sha256:6c91a225ae0dfd9b7d34116bbe705c448e06e6adbcac5cc401990791cd3ec2f6size 2205123version https://git-lfs.github.com/spec/v1oid sha256:488c548c133a521b3705de92bfdf87ad5a9e62006787335593acbae8c6a654f5size 914123version https://git-lfs.github.com/spec/v1oid sha256:c8e7222271cf7adbe8c240395142d306f1afa6ece2c643946cff0744b22ff1fdsize 317123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:5f6ad2d306bd3688f3b297dfa542c05510d503bdce1886ca59ea6de9988e9eb5size 9380123version https://git-lfs.github.com/spec/v1oid sha256:632cd1c583d7dfd3107947bb9a317b8bb4bc567040e03ec88232c59e6f87a161size 1350123version https://git-lfs.github.com/spec/v1oid sha256:f9b247fe90d1b3de687afbee0871f768b5b9b41d8974110c1a1a4be0a1581258size 5283050123version https://git-lfs.github.com/spec/v1oid sha256:d36ba8fd95415355fed46a70cd71921339f0b4b8f05320279bef35443ce4cc16size 42317177123version https://git-lfs.github.com/spec/v1oid sha256:6368d0c3f97d7449830710d697fc67e7fb71fa7038bc480892279eb41c153f0bsize 5289617syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/_ctgan_generate.pyAdded+18
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/_ctgan_train.pyAdded+17
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan-c18-103976-20260512_083614.csvAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan_metadata.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/ctgan_train_prepared.csvAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/gen_20260512_083614.logAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/input_snapshot.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/ctgan_50epochs.ptAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/models_50epochs/train_20260511_052110.logAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/run_config.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/runtime_result.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/adapter_report.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/ctgan/model_input_manifest.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/staged_features.jsonAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/test.csvAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/train.csvAdded+3
syntheticSuccess/c18/ctgan/ctgan-c18-20260511_052106/staged/public/val.csvAdded+3