Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npyAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_gen.pyAdded+8
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_meta_host.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_train.pyAdded+36
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csvAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/gen_20260510_205311.logAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/input_snapshot.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/models_fd/model.joblibAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/run_config.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/runtime_result.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/test.csvAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/train.csvAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/val.csvAdded+3
- syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/train_20260510_205308.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:42ce9dd53b247a3c19042aaa57617a99b3f630e320a65896ef869cb6f571a075size 3289612345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(7636))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:3146442992cf09791afa81e4f3fc08f4c0d4fc2d757ccb7e9a8a270e0ba1cc81size 167123456789101112131415161718192021222324252627282930313233343536
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/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/c6/forestdiffusion/forest-c6-20260510_205308/_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/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:7b42db72eeab588be5421b3f675bc205bfe6cde7cecfac204c67d75c39f37ca2size 494363123version https://git-lfs.github.com/spec/v1oid sha256:29d5a53aea95d511d2551b43cc12e58690076523bfaa958227f17a1b807a2164size 2679412123version https://git-lfs.github.com/spec/v1oid sha256:c17a2cbce5a06a7fac876062f165895d811978da5ffa7d605a31cef8f82cf225size 294123version https://git-lfs.github.com/spec/v1oid sha256:f3ebcc2cf76517af90b37d9e7529b105b73f208dbec6ae99abd9b6e6a8d168c7size 1356123version https://git-lfs.github.com/spec/v1oid sha256:29d5a53aea95d511d2551b43cc12e58690076523bfaa958227f17a1b807a2164size 2679412123version https://git-lfs.github.com/spec/v1oid sha256:065bdbcaaeac76f0cbdb0c5fff8891508d44a53a8e05c41f90aa9bc5e7681d87size 4158123version https://git-lfs.github.com/spec/v1oid sha256:f3a9cf6c6d49a066e92888a8ccbb76604413c126e8faedf02d707602158d4079size 921123version https://git-lfs.github.com/spec/v1oid sha256:b159ecc0f967e387a57de730b59b5b99efd909db3e847ee0f9da106831e48d11size 4999123version https://git-lfs.github.com/spec/v1oid sha256:47edd6b9fcb078a36eee2d39eea50403e3917fadbd16a3ae5f88d4ee53a1806esize 2343123version https://git-lfs.github.com/spec/v1oid sha256:fe764f0bf62ba7c4fb2528cd3d78567f4148ab328ac314e3a0c3611bb1c4b4d1size 922123version https://git-lfs.github.com/spec/v1oid sha256:25916f6566d8d446bc2e12751e0835943dba68adbc6c2df1f84667ace0c70ec3size 336123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:b861d18593a141fcbfd18af47601d6ce356122da4558e40a8174321e4f652d83size 5211123version https://git-lfs.github.com/spec/v1oid sha256:bfdf5dc24983833c54d8dd0e6c39aaea73c21fb9552c8b7d60db4a3b4e2dc022size 783123version https://git-lfs.github.com/spec/v1oid sha256:d28b60b361526450f0c203ddf50498854cb66ad5c1978516a99c265f529f8e4fsize 107696123version https://git-lfs.github.com/spec/v1oid sha256:7d8f85a52de0e63e292778c26cb06223383b366c589d4226c3de68b111ba5272size 849500123version https://git-lfs.github.com/spec/v1oid sha256:9ede9f1e2036e743d822e8ed8d7b5e1050159e8fc7b402b758a294f7a14528fesize 108137123version https://git-lfs.github.com/spec/v1oid sha256:341e7176426b9d6d1e2533059014e6993f52d32e2fde48329adc5ffa6af40a22size 443syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npyAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_gen.pyAdded+8
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_meta_host.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_train.pyAdded+36
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csvAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblibAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/gen_20260510_205311.logAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/input_snapshot.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/models_fd/model.joblibAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/run_config.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/runtime_result.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/staged_features.jsonAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/test.csvAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/train.csvAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/val.csvAdded+3
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/train_20260510_205308.logAdded+3