Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npyAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_gen.pyAdded+8
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_meta_host.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_train.pyAdded+36
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csvAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/gen_20260511_134601.logAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/input_snapshot.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/models_fd/model.joblibAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/run_config.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/runtime_result.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/test.csvAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/train.csvAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/val.csvAdded+3
- syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/train_20260511_132540.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:3639b59580c892cf1d76106db4b63f95c76929e8d89cab56c47da4808f5d04a8size 242905612345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(1253))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:28b1a3ff54c04b7c8b7db5683fa971f71205f258cdbc2582ebacc66eca6ae5d3size 9327123456789101112131415161718192021222324252627282930313233343536
import os, shutil, jsonwith open('/tmp/pgrep', 'w') as _f: _f.write("#!/usr/bin/env python3\n") _f.write("import subprocess, sys\n") _f.write("ppid = sys.argv[-1]\n") _f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n") _f.write("print(out, end='')\n")os.chmod('/tmp/pgrep', 0o755)os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '')shutil.copy(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/_fd_meta_host.json') as f: open('/tmp/fd_meta.json','w').write(f.read())
import numpy as np, joblib, json, osfrom ForestDiffusion import ForestDiffusionModelX = np.load("/tmp/fd_X.npy")with open("/tmp/fd_meta.json") as f: meta = json.load(f)cat_indexes = meta["cat_indexes"]print( "[ForestDiffusion] train config: " f"rows={X.shape[0]} cols={X.shape[1]} n_t=2 " f"n_estimators=1 duplicate_K=1 n_jobs=1 " f"max_depth=2 xgb_verbosity=0 xgb_nthread=1", flush=True,)m = ForestDiffusionModel( X, n_t=2, n_estimators=1, duplicate_K=1, n_jobs=1, model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes, verbosity=0, nthread=1,)joblib.dump((m, meta), "/tmp/fd_model.joblib")print("ForestDiffusion train OK")
shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:d265407e955728aa4dfff8ab84e365e91cb5ead0e23f1c2a16b193255aa5aa41size 11508083123version https://git-lfs.github.com/spec/v1oid sha256:2ef804703f85b97d9c62407f02688cb76a571e28d5f2acdd25bef3076bfe23d9size 21738230123version https://git-lfs.github.com/spec/v1oid sha256:24640375265ba181e666934b7be1eca7fb6281e301856c2d4b68960f82ac2a95size 295123version https://git-lfs.github.com/spec/v1oid sha256:011461e6a96ea90863f814fee1eb4048406d93f25c9219516ba6b54b935bade1size 1361123version https://git-lfs.github.com/spec/v1oid sha256:2ef804703f85b97d9c62407f02688cb76a571e28d5f2acdd25bef3076bfe23d9size 21738230123version https://git-lfs.github.com/spec/v1oid sha256:f01a359e833f3718c09575a3ee13177880c306c881b5f855f209b37a093bbc3asize 285716123version https://git-lfs.github.com/spec/v1oid sha256:8519e06ffb121f172dd7c62305bd4e1a7760c91ff0880271a3acb3f516497de0size 914123version https://git-lfs.github.com/spec/v1oid sha256:76c670dec620730cd6118e45ab3138cb1baa873becb3e2cc872aa3bde9e0fa74size 286557123version https://git-lfs.github.com/spec/v1oid sha256:58036c80ee3670bd535ec4c072622286e993eb932c09d85964615151c99e0f61size 2336123version https://git-lfs.github.com/spec/v1oid sha256:cdf44fc16246585f5575d36d520bd7d6da37f7176569704a56688c50700ab106size 926123version https://git-lfs.github.com/spec/v1oid sha256:d47fdb632f75fce56e5154811a846be69612aa4dc8e1c3bf62ae53cc339c2a1dsize 336123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:26d0860b1cfc9a64659ed6a0c95a4ea149e1e9d0a1855a029c3f8e515b065e5csize 286769123version https://git-lfs.github.com/spec/v1oid sha256:a00249fb8ee26d959764c73ee1a98a2d94de3afa94e97797953bfcd215cbdb10size 57541123version https://git-lfs.github.com/spec/v1oid sha256:8746d2ff3a5c746a183a55abb2d10636ed95082118233f716c06de8b19652781size 574665123version https://git-lfs.github.com/spec/v1oid sha256:0e34a97ea3f111b7bed4108447805ffb0fdb2912937947b9ed8547d72f42f3c0size 4575725123version https://git-lfs.github.com/spec/v1oid sha256:ec46f42c0d9d9dc8d90b1c55b5315ff92529a66282df9266a3b1aff3b8b3e7b7size 548212123version https://git-lfs.github.com/spec/v1oid sha256:02d354e821937eaa4dca22f51e646ffcb39614351fb08053fbcdcc09f306887dsize 448syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_X_host.npyAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_gen.pyAdded+8
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_meta_host.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/_fd_train.pyAdded+36
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forest-n8-1253-20260511_134601.csvAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/forestdiffusion_model.joblibAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/gen_20260511_134601.logAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/input_snapshot.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/models_fd/model.joblibAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/run_config.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/runtime_result.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/staged_features.jsonAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/test.csvAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/train.csvAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/staged/public/val.csvAdded+3
syntheticSuccess/n8/forestdiffusion/forest-n8-20260511_132539/train_20260511_132540.logAdded+3