Add files using upload-large-folder tool
Browse filesFiles changed (21)
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npyAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.pyAdded+8
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.pyAdded+36
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csvAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.logAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblibAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csvAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csvAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csvAdded+3
- syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:939bf6bdae94a815aeae4a74d8b41430f97e4fcbabeed53e253e00952bf0812asize 15320812345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(7654))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:d1831d92274d713d5d39f7ff46e00cf6158852f50287ea517fc6028b9a1756cesize 66123456789101112131415161718192021222324252627282930313233343536
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/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/_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=10 " f"n_estimators=20 duplicate_K=5 n_jobs=1 " f"max_depth=4 xgb_verbosity=1", flush=True,)m = ForestDiffusionModel( X, n_t=10, n_estimators=20, duplicate_K=5, n_jobs=1, model="xgboost", max_depth=4, tree_method="hist", cat_indexes=cat_indexes, verbosity=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/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:e5036f339739a073a6d39fe52d48316dae08dada5439805a043dc858d6fa9483size 703835123version https://git-lfs.github.com/spec/v1oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596size 1900383123version https://git-lfs.github.com/spec/v1oid sha256:e4da2097bfac0b147b20d243e1a4605020b7aeedb6ecf9003c5e16bcdc502573size 294123version https://git-lfs.github.com/spec/v1oid sha256:d1d8b3104e2b05bb047d7894504341ebbb313df31ab2d3e9c1063fc637398080size 1365123version https://git-lfs.github.com/spec/v1oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596size 1900383123version https://git-lfs.github.com/spec/v1oid sha256:81093ad7315dba850c2b92af3ef28cb2cb4b937f961dc1dbb466b60c355d7f24size 2463123version https://git-lfs.github.com/spec/v1oid sha256:82d65df7d0ea1f8418a15e27a3077f7a2e5e2a24ea8eb4c41e3e50b7906d7c2asize 912123version https://git-lfs.github.com/spec/v1oid sha256:713eab2f6e9b76928c84767f5d721b24d595610763f9d378bf84c15fa4579b7asize 3314123version https://git-lfs.github.com/spec/v1oid sha256:a75e0ad313342503bc1dfc0149138eec89360b13b8816a28207a6f7a9051daf1size 930123version https://git-lfs.github.com/spec/v1oid sha256:c758463dbf3f4876a0526b1166ae85c177e8bd2282c4af2538aa5d0a6e78523csize 338123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:97da2c2069753e3fd89740e176e604556bc5318ea443f18fbc646d1d3e41b190size 3528123version https://git-lfs.github.com/spec/v1oid sha256:6a22ed10942cfed5c408e8c1e37d6169591f60d625b40c117dea9aa4a57a5b8asize 445123version https://git-lfs.github.com/spec/v1oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608ccesize 31623123version https://git-lfs.github.com/spec/v1oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489size 252576123version https://git-lfs.github.com/spec/v1oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44size 31620123version https://git-lfs.github.com/spec/v1oid sha256:3a8a079ba47f0b3390c9e990d000f0a5ff750b2b79024d32284102bcf38ea81fsize 431syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npyAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.pyAdded+8
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.pyAdded+36
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csvAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblibAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.logAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblibAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.jsonAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csvAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csvAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csvAdded+3
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.logAdded+3