Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npyAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_gen.pyAdded+8
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_meta_host.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_train.pyAdded+36
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csvAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/gen_20260511_135003.logAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/input_snapshot.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/models_fd/model.joblibAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/run_config.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/runtime_result.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/test.csvAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/train.csvAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/val.csvAdded+3
- syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/train_20260511_134923.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:5c0524ef0538f74865474b324a5b1169fe8665c373739e79172e9f5d9b070332size 638579212345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(2623))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:2d0badf185af924126dfa02e78cd9aa7a143acc60ecea4db72d6f30a93dcd7efsize 38854123456789101112131415161718192021222324252627282930313233343536
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/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/c12/forestdiffusion/forest-c12-20260511_134918/_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/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:b666a405d90acd67673d0d0c6c8611b5ad4e60614be07f0a640e8dd407133c9esize 16469310123version https://git-lfs.github.com/spec/v1oid sha256:c44a247145080a9e5fe7d326ff632b0ca7e9d74891b29c1e7a1080fc03d1efa8size 15786962123version https://git-lfs.github.com/spec/v1oid sha256:2cb706acc271449534deab62dded6d275025c7875af053a9f35d6c6aed6ad1c4size 294123version https://git-lfs.github.com/spec/v1oid sha256:3dc63181dd2015a7317915b350c38aaba4d4afe6c3dfa68d6fedc4aafd8b56bfsize 1375123version https://git-lfs.github.com/spec/v1oid sha256:c44a247145080a9e5fe7d326ff632b0ca7e9d74891b29c1e7a1080fc03d1efa8size 15786962123version https://git-lfs.github.com/spec/v1oid sha256:cdd47237e86fffcbc722042f72d26f86f453f1276e6e18decf09dddb9f7d12adsize 657619123version https://git-lfs.github.com/spec/v1oid sha256:db44536c0e96576047e7609aa7d3a96f2a3cbca8946e96ed74f8c7bf52e45cd4size 919123version https://git-lfs.github.com/spec/v1oid sha256:8435d81485e2ce33e96ffa20fcd51ed8d1e2bc2ea7f34e2c365b4b0e558e524csize 658470123version https://git-lfs.github.com/spec/v1oid sha256:79aeff4a8b16256880f37c4e655aaf20b3035af46e234dcbf280aa3458484076size 2353123version https://git-lfs.github.com/spec/v1oid sha256:34d9c8835e60dbbd0c54c2c19000c03b608275bcbde91c97d7e075e32e5c583esize 929123version https://git-lfs.github.com/spec/v1oid sha256:a837f9a93eecc1b8902b5ba3a0190c1040b1a4151775f21f4181f30e4c425f4esize 338123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:4e0242babbb2e301b18ccc9087d07bad8e914ebd264fe67b0fa4940dfa22ee26size 658684123version https://git-lfs.github.com/spec/v1oid sha256:a4d0d98b86ca46b032dbc651380d625e2d7600f5251a60811bb81e1a6c5af70esize 161608123version https://git-lfs.github.com/spec/v1oid sha256:377cdc71dcb1451916e4b052f69dcae90c8648105e3d82016bc74348443e25besize 4125897123version https://git-lfs.github.com/spec/v1oid sha256:6c75114f21bd2661465a1c07af94f5249e6d47d50230c60699e74843acb77c74size 32713969123version https://git-lfs.github.com/spec/v1oid sha256:9db0022070ad285c003e836f1ec85618f79abd9f38c8801581bbccba183f91ebsize 4101090123version https://git-lfs.github.com/spec/v1oid sha256:a619dcae72b96e101aa0399287a35b199c82ab0c7d67ee4237281cbd238d0c12size 447syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_X_host.npyAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_gen.pyAdded+8
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_meta_host.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/_fd_train.pyAdded+36
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forest-c12-2623-20260511_135003.csvAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/forestdiffusion_model.joblibAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/gen_20260511_135003.logAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/input_snapshot.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/models_fd/model.joblibAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/run_config.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/runtime_result.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/staged_features.jsonAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/test.csvAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/train.csvAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/staged/public/val.csvAdded+3
syntheticSuccess/c12/forestdiffusion/forest-c12-20260511_134918/train_20260511_134923.logAdded+3