Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npyAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_gen.pyAdded+8
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_meta_host.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_train.pyAdded+36
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csvAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/gen_20260511_134809.logAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/input_snapshot.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/models_fd/model.joblibAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/run_config.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/runtime_result.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/test.csvAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/train.csvAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/val.csvAdded+3
- syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/train_20260511_134748.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:0b2be6d7bd749b0f7f4deb0f6bd25533c607892ce1729b7280c90fb572948272size 321548812345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(56000))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:2ed941a7d572ae1a9aaff25b9aa4d27e5d777d46e856816b8ea49723bc82375asize 9502123456789101112131415161718192021222324252627282930313233343536
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/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/n19/forestdiffusion/forest-n19-20260511_134729/_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/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:ede4e130e24f9fe598ff77c843b7890409b68a6339da5e4cc191d1d18fc41bd1size 557864976123version https://git-lfs.github.com/spec/v1oid sha256:0f9b66866c4bce58f0946095271645cd9b4dfac704c952759dc15079e7702ac2size 10315987123version https://git-lfs.github.com/spec/v1oid sha256:8cbff1e29115fe4eedd9ca678e2956a8ca8bd5a93ac075aeaaaf9581c3bef4eesize 296123version https://git-lfs.github.com/spec/v1oid sha256:999299a49937bc955ca5fe885d93deb6db0bd8e16fbf2091c2b0af7a2c944bd1size 1378123version https://git-lfs.github.com/spec/v1oid sha256:0f9b66866c4bce58f0946095271645cd9b4dfac704c952759dc15079e7702ac2size 10315987123version https://git-lfs.github.com/spec/v1oid sha256:751759bbfaa7742bc3c8bd530c3d29bba8b0e6598d2aba0500b6b981508c8305size 358421123version https://git-lfs.github.com/spec/v1oid sha256:ffe1d6021d4588b8dbe5ba851f27df47af01b13c2950f26ffb85d0f86fefd737size 919123version https://git-lfs.github.com/spec/v1oid sha256:845eb34208a4a58ddc0c4dddc70f2da5b1d828dd769871973b50b74fa7d30e63size 359272123version https://git-lfs.github.com/spec/v1oid sha256:ec4c85ee14e55381e19a9a99e312e20c479b2b162d3399f3d811b14209ad4bfcsize 2355123version https://git-lfs.github.com/spec/v1oid sha256:0d56aa96f2735525dd5c52b85ede182be6e17bc4405b09064673cd3b87ec4fd3size 932123version https://git-lfs.github.com/spec/v1oid sha256:e27c9c2abfe4f83b93e854b8063036bf67ad5adca12c546f9db3c2a35ce40808size 338123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:065cb857f82260dc9f329f23c1165fc52c9f181e229a9c697d94d7b22a108d63size 359486123version https://git-lfs.github.com/spec/v1oid sha256:506ae856448fbec745984e35d6313eaa3f6fafb49fa3cf7fecf39c9629015f9fsize 74313123version https://git-lfs.github.com/spec/v1oid sha256:71d7956b1019f9cdb46e50142bd5567f1efeaf7c9920aed5eb50c3f00da2c0d1size 15509649123version https://git-lfs.github.com/spec/v1oid sha256:5baa195712a9e23e71059aba544f9a7d1cb46594f7f6903469966f66dbcc9bebsize 124172425123version https://git-lfs.github.com/spec/v1oid sha256:9a7a9fca60ae4a3ab1e2ffa7930243061d516b3838f19276db27a5dba6fbd905size 15543732123version https://git-lfs.github.com/spec/v1oid sha256:8e7953a02162b18968a37a04eaf146ebe9d984ec323191e3c2d4f8ed49aae2dcsize 446syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_X_host.npyAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_gen.pyAdded+8
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_meta_host.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/_fd_train.pyAdded+36
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forest-n19-56000-20260511_134809.csvAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/forestdiffusion_model.joblibAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/gen_20260511_134809.logAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/input_snapshot.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/models_fd/model.joblibAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/run_config.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/runtime_result.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/staged_features.jsonAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/test.csvAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/train.csvAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/staged/public/val.csvAdded+3
syntheticSuccess/n19/forestdiffusion/forest-n19-20260511_134729/train_20260511_134748.logAdded+3