Add files using upload-large-folder tool
Browse filesFiles changed (22)
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npyAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_gen.pyAdded+8
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_meta_host.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_train.pyAdded+36
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csvAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblibAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/gen_20260511_132012.logAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/input_snapshot.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/models_fd/model.joblibAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/normalized_schema_snapshot.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/public_gate_report.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/staged_input_manifest.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/run_config.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/runtime_result.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_report.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/model_input_manifest.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/staged_features.jsonAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/test.csvAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/train.csvAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/val.csvAdded+3
- syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/train_20260511_130614.logAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:41adc3389e2d6a797057133586e77166da94c145f0601e3ade519b899c7374b5size 52441612345678
import joblib, pandas as pdm, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib')# generate:batch_size 为样本数arr = m.generate(batch_size=int(1595))df = pd.DataFrame(arr, columns=meta["column_names"])df.to_csv(r'/work/output-Benchmark-trainonly-v1/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csv', index=False)print("saved", len(df))123version https://git-lfs.github.com/spec/v1oid sha256:1167007c0f9ede6a9434998d12371707325b03cedcff6afdc8229faea798bafbsize 1845123456789101112131415161718192021222324252627282930313233343536
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/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npy', '/tmp/fd_X.npy')with open(r'/work/output-Benchmark-trainonly-v1/n4/forestdiffusion/forest-n4-20260511_130614/_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/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblib')123version https://git-lfs.github.com/spec/v1oid sha256:346b0c2aa81170a9e324827220cbb31ea38102e4928a5f1c60280e4fe1a06624size 2925715123version https://git-lfs.github.com/spec/v1oid sha256:53031096f8c03316987c4c708808b00c4f56321fc491a53c52831a5731a92b33size 18234531123version https://git-lfs.github.com/spec/v1oid sha256:4465ac4bf51531e1dcf0df0bde62893358d337a32d37dbd8929d0f0a90c73b88size 295123version https://git-lfs.github.com/spec/v1oid sha256:5ad53e91c557a7a9d96513dd43459c391d294f0947d4674049a3837b7e763fa5size 1358123version https://git-lfs.github.com/spec/v1oid sha256:53031096f8c03316987c4c708808b00c4f56321fc491a53c52831a5731a92b33size 18234531123version https://git-lfs.github.com/spec/v1oid sha256:c4a51e0665dadfbffebdf82b417fe43fa562204275dc2da832b4493e71b17a14size 60257123version https://git-lfs.github.com/spec/v1oid sha256:2d82af407145ddf93aed8488407a5600dcb12b75cfbf3b9ac3a2a5531586587esize 909123version https://git-lfs.github.com/spec/v1oid sha256:454e67521108089de2311c8c042da8dfded4e3ee501615e719e248e741848f19size 61098123version https://git-lfs.github.com/spec/v1oid sha256:3a1c08593afa55286b63a63979e3ad42faf3ac161861ce916032816d992c64easize 2331123version https://git-lfs.github.com/spec/v1oid sha256:0901fb3397fcf12fc4c8205674dd3d2b2dd2a2c23ca664ee0feba4fb8af6f110size 924123version https://git-lfs.github.com/spec/v1oid sha256:942c19d08580d15f15fdf0f157aaad3554a3c6398ef954fac3a4b9db7045e27asize 336123version https://git-lfs.github.com/spec/v1oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945size 2123version https://git-lfs.github.com/spec/v1oid sha256:c45197d8dc936dd2f385fe566f4dc3f7ac730f3f3ade9f375e6442a1fb6007aesize 61310123version https://git-lfs.github.com/spec/v1oid sha256:7b0659495a3ed560d31ee16ac86c232a810e297e56b2bc8da97d5de72e0c774esize 12433123version https://git-lfs.github.com/spec/v1oid sha256:caa60b496a1710d39671c1777212c13b0a2d4833e15858913d1e3b6743f7fd09size 110901123version https://git-lfs.github.com/spec/v1oid sha256:d231783209c86c6e6cdb1f56f30fba81c3163dc137fc5cfbd0dd1b7360767accsize 878053123version https://git-lfs.github.com/spec/v1oid sha256:fee3c941aad07723b15b7e43c645c70742e10ae08f8b1e6e837d64212886ef22size 111232123version https://git-lfs.github.com/spec/v1oid sha256:9ffe82d5a0e136c60b4524a076278d00811ac94a77749d51241990522e0175acsize 447syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_X_host.npyAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_gen.pyAdded+8
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_meta_host.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/_fd_train.pyAdded+36
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forest-n4-1595-20260511_132012.csvAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/forestdiffusion_model.joblibAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/gen_20260511_132012.logAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/input_snapshot.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/models_fd/model.joblibAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/normalized_schema_snapshot.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/public_gate_report.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/public_gate/staged_input_manifest.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/run_config.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/runtime_result.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_report.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/adapter_transforms_applied.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/forestdiffusion/model_input_manifest.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/staged_features.jsonAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/test.csvAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/train.csvAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/staged/public/val.csvAdded+3
syntheticSuccess/n4/forestdiffusion/forest-n4-20260511_130614/train_20260511_130614.logAdded+3