Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npyAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_gen.pyAdded+8
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_meta_host.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_train.pyAdded+36
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csvAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/gen_20260511_130547.logAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/input_snapshot.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/models_fd/model.joblibAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/run_config.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/runtime_result.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/test.csvAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/train.csvAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/val.csvAdded+3
- syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/train_20260511_130544.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:1d82a25a430bba126d2bf19a80da413f3842e5523a76e456b8b384be17421b6bsize 35238412345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(7857))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:a0494d519e8c6ceae59eccb9babb8ec95ed8e8272464217bb87914a0c5c4e81fsize 1080123456789101112131415161718192021222324252627282930313233343536
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/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/n15/forestdiffusion/forest-n15-20260511_130544/_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/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:127939ab01b9f7c2a7f8ebe5ae1d6a5b3c203e1bf4d9e8d193848abd7eedf907size 6517385123version https://git-lfs.github.com/spec/v1oid sha256:d975dc07604e505a26bcd7d6c11ecc4b540642aa3b930bebfe76d3c049c4d3ebsize 1211204123version https://git-lfs.github.com/spec/v1oid sha256:7f4763a78abea3b103c3fd086de90dc5c08c47f396489cb29ba8660ff3e8e437size 294123version https://git-lfs.github.com/spec/v1oid sha256:1997dc84614177f3470ece839d7158d4ee236602fcbcd7f503d9f5be6f1b6809size 1370123version https://git-lfs.github.com/spec/v1oid sha256:d975dc07604e505a26bcd7d6c11ecc4b540642aa3b930bebfe76d3c049c4d3ebsize 1211204123version https://git-lfs.github.com/spec/v1oid sha256:4ddca2940077222faf35a4bf29d5b5b6aeb2afa8995164d0b5adda3df2df48adsize 38000123version https://git-lfs.github.com/spec/v1oid sha256:2ee51584649883c35f66f557fc11a987bfff50fe6bcfc03b44e5189ca8fa3d6dsize 922123version https://git-lfs.github.com/spec/v1oid sha256:16bb7da4757bb1d265b7fddb4929533d3adaf55efbe404c645027b734083de86size 38851123version https://git-lfs.github.com/spec/v1oid sha256:365e561264983d1d3906c5e252103fcef3f96a10f73c9b450ac2187c7336ab8esize 2356123version https://git-lfs.github.com/spec/v1oid sha256:502078f03ec9b55ecab2c54b4d62dff84977866fe4a3a717a5fc14e14e808b7esize 929123version https://git-lfs.github.com/spec/v1oid sha256:9671e76a2f602405961978e3d5f5f15fab12234989a3c7fa35428da9376e9196size 338123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:272ed253ab001e974e2bcd8bf6b7146be904f523656995f1aef4cd5f4b592ba5size 39065123version https://git-lfs.github.com/spec/v1oid sha256:184b0925280e9e71a23f7ca7a743afdc06d3e99d3e2aca21368dcb79f77dc9a4size 7948123version https://git-lfs.github.com/spec/v1oid sha256:dcb79b0fa6748300b4f887d1f53cad4854f40f51cc1b0588c306eff8149735e6size 170605123version https://git-lfs.github.com/spec/v1oid sha256:32e1119fb76fba5a78aadbceef58f29788e4bb3524824932de207c1160b92965size 1358492123version https://git-lfs.github.com/spec/v1oid sha256:7f21567e6e1ef28313538289b418fad70f3673877f9a01f2d165dabf98095045size 170395123version https://git-lfs.github.com/spec/v1oid sha256:da584bc761988adb39345e34d41841469d656b822da2df2fe55f1431a0481793size 444syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npyAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_gen.pyAdded+8
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_meta_host.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_train.pyAdded+36
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csvAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblibAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/gen_20260511_130547.logAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/input_snapshot.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/models_fd/model.joblibAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/run_config.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/runtime_result.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/staged_features.jsonAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/test.csvAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/train.csvAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/val.csvAdded+3
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/train_20260511_130544.logAdded+3