Spaces:
Running
Running
Refresh Qwen Pixel-Edit progress (part 3)
Browse filesFiles changed (5)
- current-editing.json+81-81
- editing-progress.html+465-470
- index.html
- progress.json+159-159
- rgb-gain64.html+1-1
12345678910111213141516171819202122232425262728293031323334353637383 unmodified lines4243444546474849509 unmodified lines60616263646566672 unmodified lines70717273747576772 unmodified lines8081828384858687888990912 unmodified lines949596979899100101102663 unmodified lines766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866{"updated": "2026-11-25T12:24:15.906186+08:00","inventory": {"row_policy": "accepted English exports; includes distinct teacher and augmentation rows","unique_tasks": 12794,"datasets": [{"dataset": "anyedit","rft": 937,"ti": 325,"total": 1262},{"dataset": "instructpix2pix","rft": 784,"ti": 244,"total": 1028},{"dataset": "magicbrush","rft": 5238,"ti": 3586,"total": 8824},{"dataset": "maskedit_en","rft": 492,"ti": 284,"total": 776},{"dataset": "maskedit_scene","rft": 462,"ti": 266,"total": 728},{"dataset": "sciforma",3 unmodified lines},{"dataset": "ultraedit","rft": 3539,"ti": 543,"total": 4082}],"teachers": [9 unmodified lines},{"teacher": "gpt55","rft": 863,"ti": 1536},{"teacher": "gpt56sol",2 unmodified lines},{"teacher": "gpt61","rft": 5782,"ti": 692},{"teacher": "gpt62",2 unmodified lines},{"teacher": "luna","rft": 384,"ti": 312},{"teacher": "terra","rft": 666,"ti": 59},{2 unmodified lines"ti": 0}],"rft": 13343,"ti": 5361,"total": 18704},"rl": {"pre": {663 unmodified lines"paired_sft": [{"treatment": "ti00","step": 117,"supervised_tokens": 747725,"eval": {},"exposure": {"step": 117,"total_assistant_tokens": 747725,"method_tokens": {"rft": 747725},"ti_token_fraction": 0.0,"source_tokens": {"maskedit_scene": 126820,"anyedit": 100174,"maskedit_en": 136790,"magicbrush": 70086,"sciforma": 41980,"ultraedit": 150132,"instructpix2pix": 121743},"teacher_tokens": {"gpt61": 233766,"gpt62": 367668,"gpt55": 144889,"luna": 1402},"distinct_rows_seen": 234,"mean_visits_per_dataset_row": 0.9140625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti25","step": 114,"supervised_tokens": 740400,"eval": {},"exposure": {"step": 114,"total_assistant_tokens": 740400,"method_tokens": {"ti": 207826,"rft": 532574},"ti_token_fraction": 0.28069421934089683,"source_tokens": {"maskedit_scene": 125556,"anyedit": 101043,"maskedit_en": 128570,"magicbrush": 64952,"sciforma": 45083,"ultraedit": 151106,"instructpix2pix": 124090},"teacher_tokens": {"gpt61": 232082,"gpt62": 358693,"gpt55": 148117,"luna": 1508},"distinct_rows_seen": 228,"mean_visits_per_dataset_row": 0.890625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti50","step": 112,"supervised_tokens": 745467,"eval": {},"exposure": {"step": 112,"total_assistant_tokens": 745467,"method_tokens": {"ti": 405713,"rft": 339754},"ti_token_fraction": 0.5442400535503248,"source_tokens": {"maskedit_scene": 116769,"anyedit": 103444,"maskedit_en": 134265,"magicbrush": 67284,"sciforma": 46362,"ultraedit": 151754,"instructpix2pix": 125589},"teacher_tokens": {"gpt61": 225214,"gpt62": 369337,"gpt55": 149408,"luna": 1508},"distinct_rows_seen": 224,"mean_visits_per_dataset_row": 0.875,"actual_counter_matches": true,"assistant_token_budget": 1000000}12345678910111213141516171819202122232425262728293031323334353637383 unmodified lines4243444546474849509 unmodified lines60616263646566672 unmodified lines70717273747576772 unmodified lines8081828384858687888990912 unmodified lines949596979899100101102663 unmodified lines766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866{"updated": "2026-11-25T12:29:14.864254+08:00","inventory": {"row_policy": "accepted English exports; includes distinct teacher and augmentation rows","unique_tasks": 12817,"datasets": [{"dataset": "anyedit","rft": 938,"ti": 325,"total": 1263},{"dataset": "instructpix2pix","rft": 793,"ti": 249,"total": 1042},{"dataset": "magicbrush","rft": 5238,"ti": 3587,"total": 8825},{"dataset": "maskedit_en","rft": 492,"ti": 285,"total": 777},{"dataset": "maskedit_scene","rft": 464,"ti": 268,"total": 732},{"dataset": "sciforma",3 unmodified lines},{"dataset": "ultraedit","rft": 3543,"ti": 543,"total": 4086}],"teachers": [9 unmodified lines},{"teacher": "gpt55","rft": 871,"ti": 1540},{"teacher": "gpt56sol",2 unmodified lines},{"teacher": "gpt61","rft": 5785,"ti": 695},{"teacher": "gpt62",2 unmodified lines},{"teacher": "luna","rft": 386,"ti": 314},{"teacher": "terra","rft": 669,"ti": 59},{2 unmodified lines"ti": 0}],"rft": 13359,"ti": 5370,"total": 18729},"rl": {"pre": {663 unmodified lines"paired_sft": [{"treatment": "ti00","step": 133,"supervised_tokens": 850233,"eval": {},"exposure": {"step": 133,"total_assistant_tokens": 850233,"method_tokens": {"rft": 850233},"ti_token_fraction": 0.0,"source_tokens": {"maskedit_scene": 142296,"anyedit": 115141,"maskedit_en": 166193,"magicbrush": 76556,"sciforma": 45166,"ultraedit": 179346,"instructpix2pix": 125535},"teacher_tokens": {"gpt61": 271495,"gpt62": 421334,"gpt55": 156002,"luna": 1402},"distinct_rows_seen": 256,"mean_visits_per_dataset_row": 1.0390625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti25","step": 129,"supervised_tokens": 846340,"eval": {},"exposure": {"step": 129,"total_assistant_tokens": 846340,"method_tokens": {"ti": 241674,"rft": 604666},"ti_token_fraction": 0.28555190585343954,"source_tokens": {"maskedit_scene": 139328,"anyedit": 116122,"maskedit_en": 165088,"magicbrush": 75441,"sciforma": 46676,"ultraedit": 170038,"instructpix2pix": 133647},"teacher_tokens": {"gpt61": 262630,"gpt62": 428700,"gpt55": 153502,"luna": 1508},"distinct_rows_seen": 256,"mean_visits_per_dataset_row": 1.0078125,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti50","step": 127,"supervised_tokens": 855166,"eval": {},"exposure": {"step": 127,"total_assistant_tokens": 855166,"method_tokens": {"ti": 453897,"rft": 401269},"ti_token_fraction": 0.5307706340055615,"source_tokens": {"maskedit_scene": 137759,"anyedit": 112926,"maskedit_en": 175397,"magicbrush": 77773,"sciforma": 47955,"ultraedit": 170686,"instructpix2pix": 132670},"teacher_tokens": {"gpt61": 264437,"gpt62": 434024,"gpt55": 155197,"luna": 1508},"distinct_rows_seen": 254,"mean_visits_per_dataset_row": 0.9921875,"actual_counter_matches": true,"assistant_token_budget": 1000000}
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Qwen Pixel-Edit 当前训练进度</title><style>:root{color-scheme:dark;--bg:#0b1020;--panel:#141d32;--text:#e9eef8;--muted:#9caec9;--line:#293651;--accent:#70e0c1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:1160px;margin:auto;padding:32px 22px}h1{font-size:40px;line-height:1.2;margin:10px 0}h2{font-size:23px}h3{font-size:18px}.muted{color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;margin:15px 0}.big{font-size:48px;color:var(--accent);font-weight:700;line-height:1.2}.pill{background:#193c38;color:#9bf0d6;border-radius:30px;padding:5px 12px;font-size:12px}.bar{height:7px;background:#29364e;border-radius:6px;overflow:hidden;margin-top:12px}.bar i{display:block;height:100%;background:var(--accent)}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}.scroll{overflow:auto}canvas{width:100%;height:240px;background:#10182b;border-radius:12px}.images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.triple{grid-template-columns:repeat(3,1fr)}figure{margin:0}img{width:100%;display:block;border-radius:10px;object-fit:contain;background:#080d17}figcaption{text-align:center;color:var(--muted);font-size:13px;padding:8px}pre{white-space:pre-wrap;word-break:break-word;max-height:480px;overflow:auto;background:#0b1222;padding:18px;border-radius:10px;font:12px/1.6 ui-monospace,monospace}summary{cursor:pointer;color:var(--accent)}.notice{border-left:3px solid var(--accent);padding-left:16px}.links a{color:var(--accent)}@media(max-width:700px){h1{font-size:30px}.grid{grid-template-columns:1fr}.card{padding:16px}.triple{grid-template-columns:1fr}.big{font-size:40px}}.rgb-images{grid-template-columns:repeat(5,1fr)}a{color:var(--accent)}@media(max-width:700px){.rgb-images{grid-template-columns:1fr 1fr}} .gain64-images{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.gain64-images{grid-template-columns:1fr 1fr}}</style></head><body><main><h1>Qwen Pixel-Edit:当前训练进度</h1><p class="muted">2026-11-25 12:23:40 北京时间 · <a href="index.html">完整实验看板</a></p><section class="card" id="current-editing"><h2>当前主线:训练 one-shot Pixel-Edit 模型</h2><p>模型输入原图和英文编辑指令,一次输出计划与 Python,程序从原图计算修改后的 RGB。下面统计训练样本行数,RFT + TI 可以直接相加。</p><div class="big">18,704 行英文 SFT 库存</div><p>RFT 13,343 + TI 5,361 · 独立任务 12,794。库存包含不同 teacher 和增强版本,冻结训练快照需另做相同监督去重与质量审核。</p><div class="scroll"><table><thead><tr><th>来源</th><th>RFT</th><th>TI</th><th>合计</th></tr></thead><tbody><tr><td>anyedit</td><td>937</td><td>325</td><td>1,262</td></tr><tr><td>instructpix2pix</td><td>784</td><td>244</td><td>1,028</td></tr><tr><td>magicbrush</td><td>5,238</td><td>3,586</td><td>8,824</td></tr><tr><td>maskedit_en</td><td>492</td><td>284</td><td>776</td></tr><tr><td>maskedit_scene</td><td>462</td><td>266</td><td>728</td></tr><tr><td>sciforma</td><td>1,891</td><td>113</td><td>2,004</td></tr><tr><td>ultraedit</td><td>3,539</td><td>543</td><td>4,082</td></tr></tbody></table></div></section><section class="card" id="rl-current"><h2>最新 RL smoke:同一批 64 个 MagicBrush dev 任务</h2><div class="grid"><div><p>SFT 起点</p><div class="big">3/64</div><p>代码执行 44/64</p></div><div><p>RL 后</p><div class="big">11/64</div><p>代码执行 46/64</p></div></div><p>3 次真实参数更新,初始 SFT reference 权重不变。10 个任务由失败变成功,2 个由成功变失败。</p><p class="notice">这是自建图像 judge 的语义评估,不是官方像素指标。目前只有一个训练 seed,旧 greedy 推理存在数值重复性问题。正在用固定数值设置重复评测;不能直接归因为稳定 RL 收益。</p></section><section class="card" id="matched-sft"><h2>正在推进:同 teacher、同任务的 RFT/TI 配比实验</h2><p>每个配置覆盖相同的 256 个真实训练任务,TI 替换 RFT 答案。0%、25%、50% 是样本行数比例,三组总回答 token 预算均为 100 万;实际 TI token 比例另行统计。</p><p><b>ti00</b> · 117 步 · 747,725 / 1,000,000 回答 tokens · loss 0.6864710748195648</p><div class="bar"><i style="width:74.8%"></i></div><p class="muted">实际TI回答token占比 0.0% · 平均每行出现 0.91 次</p><p><b>ti25</b> · 114 步 · 740,400 / 1,000,000 回答 tokens · loss 0.4999285191297531</p><div class="bar"><i style="width:74.0%"></i></div><p class="muted">实际TI回答token占比 28.1% · 平均每行出现 0.89 次</p><p><b>ti50</b> · 112 步 · 745,467 / 1,000,000 回答 tokens · loss 0.7141454815864563</p><div class="bar"><i style="width:74.5%"></i></div><p class="muted">实际TI回答token占比 54.4% · 平均每行出现 0.88 次</p><p class="muted">此实验限于 RFT 和 TI 都成功的任务,测试监督形式;TI 救回难任务的覆盖收益需要另一组对照。官方 benchmark、独立人工审核、跨数据集与多 seed 结果仍待补齐。</p></section><section class="card"><h2>当前重复验证</h2><p>固定数值设置和6k输出预算,重新测同一批dev64;第二个RL seed采用相同设置。推理完成后展示全量结果。</p><div class="scroll"><table><thead><tr><th>流程</th><th>已评任务</th><th>执行成功</th><th>图像judge通过</th></tr></thead><tbody><tr><td>SFT起点</td><td>10/64</td><td>4</td><td>1</td></tr><tr><td>已有RL模型</td><td>11/64</td><td>9</td><td>3</td></tr><tr><td>Qwen3.8零样本</td><td>20/64</td><td>15</td><td>3</td></tr></tbody></table></div></section><section class="card" id="data-growth"><h2>持续构造 SFT 数据</h2><p>任务池 <b>9,101</b> 个 · 本次合格轨迹 <b>3,628</b> 条 · 对应 <b>3,628</b> 个任务</p><p class="muted">生产心跳:2026-11-25T12:23:39.086098+08:00 · 白天并发配置。任务池会自动读取新数据,不在 128 条或 10k 行时停止。</p><div class="scroll"><table><thead><tr><th>Teacher / 方式</th><th>运行或等待 API / 并发上限</th><th>待处理</th><th>已完成</th><th>合格轨迹</th><th>待重试</th></tr></thead><tbody><tr><td>GPT-5.5 · RFT</td><td>5 / 8</td><td>508</td><td>3,185</td><td>650</td><td>0</td></tr><tr><td>GPT-6.1-Sol · RFT</td><td>4 / 4</td><td>1,761</td><td>5,495</td><td>2,292</td><td>963</td></tr><tr><td>GPT-5.6-Terra · RFT</td><td>2 / 2</td><td>150</td><td>766</td><td>202</td><td>0</td></tr><tr><td>GPT-5.6-Luna · RFT</td><td>2 / 2</td><td>145</td><td>758</td><td>191</td><td>0</td></tr><tr><td>GPT-6.1-Sol · TI</td><td>4 / 4</td><td>318</td><td>2,883</td><td>293</td><td>314</td></tr></tbody></table></div><p>自动扩库:<b>读取新的官方训练分片</b>。已接入任务:{"anyedit": 2426, "maskedit_scene": 672, "maskedit_en": 698, "maskedit_cn": 523, "ultraedit": 1120, "instructpix2pix": 1451}。</p><p>已导出 <b>3,624</b> 条新 SFT 轨迹。原有 8,601 / 12,006 条对照训练集保持冻结,新增数据单独保存,用于后续规模实验。</p><p class="notice">合格要求:一次 teacher 输出、程序过滤、执行、完整目标区域的图像 judge 和重用执行检查通过。API 或 judge 错误会重试,不计为成功样本。任务按原图内容分组,排除官方 MagicBrush dev 与现有验证图片的内容重叠。TI 在 source-only 失败后补救,学生输入只包含原图和指令。</p></section><section class="card" id="ti-enrichment"><h2>英文 TI:独立补充训练样本</h2><p>RFT成功的任务也构造TI,保留两种方法的合格轨迹。新数据只保留英文任务和监督文本;旧实验保留用于复现,中文子集不进入新训练快照。北京时间工作日18:00–09:00、周末全天提高Sol并发。1:1为训练配比对照目标,当前通过率不被人为调整。</p><p>独立TI合格样本 <b>1,524</b> · 生产心跳 2026-11-25T12:23:38.125042+08:00</p><div class="scroll"><table><thead><tr><th>TI teacher</th><th>运行/并发上限</th><th>待处理</th><th>已完成</th><th>合格</th><th>待重试</th></tr></thead><tbody><tr><td>GPT-5.5</td><td>7/8</td><td>172</td><td>2,722</td><td>312</td><td>0</td></tr><tr><td>GPT-6.1-Sol</td><td>4/4</td><td>2,369</td><td>1,744</td><td>218</td><td>2061</td></tr><tr><td>GPT-5.6-Terra</td><td>2/2</td><td>2,142</td><td>905</td><td>59</td><td>1803</td></tr><tr><td>GPT-5.6-Luna</td><td>2/2</td><td>1,622</td><td>850</td><td>53</td><td>1303</td></tr><tr><td>GPT-6.2-Sol</td><td>4/4</td><td>555</td><td>3,567</td><td>888</td><td>7</td></tr></tbody></table></div><h3>当前英文SFT库存:按样本行数统计,可相加</h3><div class="scroll"><table><thead><tr><th>数据来源</th><th>RFT行数</th><th>TI行数</th><th>合计</th></tr></thead><tbody><tr><td>anyedit</td><td>937</td><td>325</td><td>1,262</td></tr><tr><td>instructpix2pix</td><td>780</td><td>239</td><td>1,019</td></tr><tr><td>magicbrush</td><td>5,238</td><td>3,586</td><td>8,824</td></tr><tr><td>maskedit_en</td><td>491</td><td>284</td><td>775</td></tr><tr><td>maskedit_scene</td><td>462</td><td>266</td><td>728</td></tr><tr><td>sciforma</td><td>1,891</td><td>113</td><td>2,004</td></tr><tr><td>ultraedit</td><td>3,539</td><td>541</td><td>4,080</td></tr></tbody></table></div><p>英文SFT行数 <b>18,692</b> = RFT 13,338 + TI 5,354;独立任务覆盖 12,782。行数包含不同teacher轨迹和增强版本,后续冻结训练快照另做完全相同监督内容的去重。</p></section><article class="card"><h3>新合格样本:make it look like a painting</h3><p class="muted">instructpix2pix · GPT-5.5 · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_90272d23fa48_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_90272d23fa48_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_90272d23fa48_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["The image shows a side-profile portrait of a young woman with long reddish-brown hair.","There is a green garment in the foreground and a landscape with hills, water, and sky behind her.","The source already has soft colors and visible grain, but the request is to make the whole image look more like a painting."],"target_object": "entire image","target_region": "full 512x512 portrait and landscape scene","editing_intent": "Transform the image into a more painterly version with softened detail, grouped colors, brush-like texture, canvas grain, and enhanced artistic edges while preserving the portrait composition.","editing_plan": ["Convert the image to RGB and process the full frame.","Apply repeated bilateral filtering to smooth photographic detail while keeping major contours.","Quantize colors with k-means to create paint-like color patches.","Blend the smoothed image and quantized image for an oil-painting base.","Detect soft edges and darken them slightly to mimic painted outlines and brush definition.","Create directional brush-stroke texture from the image luminance using motion-blurred noise and emboss-like shading.","Add subtle canvas weave and pigment grain so the result is not flat.","Slightly adjust saturation, contrast, and warmth to achieve a classical painting look.","Return the edited image as a PIL Image."],"preservation_constraints": ["Preserve the woman's face, hair, clothing, and pose.","Preserve the background landscape, hills, water, and sky.","Do not add or remove objects.","Do not crop, rotate, or change the image dimensions.","Keep the edit global and painterly rather than cartoon-like."]}def edit(image):from PIL import Image, ImageEnhance, ImageFilterimport numpy as npimport cv2# Ensure RGB PIL inputimage = image.convert('RGB')w, h = image.sizearr = np.array(image).astype(np.uint8)# Work in OpenCV RGB arrayrgb = arr.copy()# 1) Edge-preserving smoothing, like laying down broad paint massessmooth = rgb.copy()# Kernel strength scales gently with image sizefor _ in range(3):smooth = cv2.bilateralFilter(smooth, d=9, sigmaColor=55, sigmaSpace=9)# 2) Color quantization to reduce tiny photographic variations into paint patchessmall = cv2.resize(smooth, (max(32, w // 2), max(32, h // 2)), interpolation=cv2.INTER_AREA)data = small.reshape((-1, 3)).astype(np.float32)K = 22criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 18, 1.0)attempts = 2_compactness, labels, centers = cv2.kmeans(data, K, None, criteria, attempts, cv2.KMEANS_PP_CENTERS)centers = np.uint8(np.clip(centers, 0, 255))quant_small = centers[labels.flatten()].reshape(small.shape)quant = cv2.resize(quant_small, (w, h), interpolation=cv2.INTER_LINEAR)# Combine smoothed and quantized color for a natural painterly basebase = cv2.addWeighted(smooth, 0.58, quant, 0.42, 0)# 3) Soft outline/paint edge definition from luminance gradientsgray = cv2.cvtColor(rgb, cv2.COLOR_RGB2GRAY)gray_blur = cv2.GaussianBlur(gray, (0, 0), sigmaX=max(0.8, min(w, h) / 420.0))edges = cv2.Canny(gray_blur, 35, 95)edges = cv2.dilate(edges, np.ones((2, 2), np.uint8), iterations=1)edges = cv2.GaussianBlur(edges, (0, 0), sigmaX=1.1)edge_alpha = (edges.astype(np.float32) / 255.0) * 0.20outlined = base.astype(np.float32) * (1.0 - edge_alpha[..., None])# 4) Directional brush texture derived from luminance and procedural noiserng = np.random.default_rng(12345)noise = rng.normal(0, 1, (h, w)).astype(np.float32)# Make a diagonal/vertical brush kernel, appropriate for hair, hills, and garment strokesk_len = max(9, int(min(w, h) * 0.045))if k_len % 2 == 0:k_len += 1kernel = np.zeros((k_len, k_len), np.float32)center = k_len // 2# Slightly slanted stroke linefor y in range(k_len):x = int(center + (y - center) * 0.28)if 0 <= x < k_len:kernel[y, x] = 1.0if x + 1 < k_len:kernel[y, x + 1] = 0.55if x - 1 >= 0:kernel[y, x - 1] = 0.35kernel /= max(kernel.sum(), 1e-6)stroke_noise = cv2.filter2D(noise, -1, kernel)stroke_noise = cv2.GaussianBlur(stroke_noise, (0, 0), sigmaX=0.7)stroke_noise = (stroke_noise - stroke_noise.min()) / (stroke_noise.max() - stroke_noise.min() + 1e-6)stroke_noise = stroke_noise * 2.0 - 1.0# Luminance-based impasto modulation: highlights get slightly raised, shadows slightly draggedlum = cv2.cvtColor(base, cv2.COLOR_RGB2GRAY).astype(np.float32) / 255.0lum_smooth = cv2.GaussianBlur(lum, (0, 0), sigmaX=2.0)local_contrast = lum - lum_smoothbrush = stroke_noise * 7.0 + local_contrast * 18.0painted = outlined + brush[..., None]# 5) Canvas weave: subtle crossing fibers, not overpowering the portraityy, xx = np.mgrid[0:h, 0:w]weave1 = np.sin(xx * (2.0 * np.pi / max(5.0, w * 0.018)))weave2 = np.sin(yy * (2.0 * np.pi / max(5.0, h * 0.020)))weave = (weave1 + weave2) * 1.35painted += weave[..., None]# 6) Pigment grain, preserving the existing natural grain but making it painterlyfine_grain = rng.normal(0, 2.1, (h, w, 1)).astype(np.float32)painted += fine_grainpainted = np.clip(painted, 0, 255).astype(np.uint8)# 7) Mild unsharp detail after painterly reduction, for brush edges rather than photo sharpnessblur = cv2.GaussianBlur(painted, (0, 0), sigmaX=1.15)painted = cv2.addWeighted(painted, 1.18, blur, -0.18, 0)painted = np.clip(painted, 0, 255).astype(np.uint8)out = Image.fromarray(painted, 'RGB')# 8) Artistic color finishing: slightly warmer, richer, and softer like oil paintout = ImageEnhance.Color(out).enhance(1.10)out = ImageEnhance.Contrast(out).enhance(1.06)out = ImageEnhance.Brightness(out).enhance(1.01)# Warm glaze overlayglaze = Image.new('RGB', (w, h), (255, 238, 202))out = Image.blend(out, glaze, 0.035)# Very light final smoothing to unify brushwork without erasing strokesout = out.filter(ImageFilter.SMOOTH_MORE)out = ImageEnhance.Sharpness(out).enhance(1.18)return out</pre></details></article><article class="card"><h3>新合格样本:Add graffiti.</h3><p class="muted">instructpix2pix · GPT-5.5 · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_8acd9f8536a8_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_8acd9f8536a8_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_8acd9f8536a8_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["The image shows a natural landscape with a river or wetland in the foreground.","There is a cluster of rocks on the left bank near the lower-left middle of the image.","The rocks provide a visible hard surface suitable for painted graffiti.","The rest of the scene is grasses, water, and sky, which should remain unchanged."],"target_object": "rock cluster on the left riverbank","target_region": "lower-left bank area, on the visible gray and pink rocks just above the waterline","editing_intent": "Add colorful graffiti lettering onto the rocks while keeping the landscape otherwise intact.","editing_plan": ["Convert the input PIL image to an RGB NumPy array.","Estimate the rock-surface quadrilateral using relative image coordinates.","Create a transparent graffiti layer with thick outlined letters, bright fill, highlights, spray dots, and small paint drips.","Warp the graffiti layer to match the slanted rock perspective.","Modulate the graffiti colors with local rock brightness so the paint follows existing shading.","Feather the alpha mask and add mild noise so the graffiti blends with the image texture.","Composite the warped graffiti onto the original image and return a PIL Image."],"preservation_constraints": ["Do not alter the sky, water flow, grasses, or distant horizon.","Keep the rock shapes and surrounding vegetation visible.","Do not cover the whole image with graffiti; only mark the rock cluster.","Preserve the original image resolution and color mode."]}def edit(image):from PIL import Imageimport numpy as npimport cv2import random# Ensure RGB PIL imageimage = image.convert('RGB')w, h = image.sizebase = np.array(image).astype(np.uint8)# Work in OpenCV BGR/RGBA conventions where needed, but keep final RGB# Target: rock cluster on lower-left bank. Coordinates are relative to image size.# A slightly tilted quadrilateral follows the visible rock group.dst = np.float32([[0.235 * w, 0.372 * h],[0.432 * w, 0.338 * h],[0.455 * w, 0.438 * h],[0.205 * w, 0.472 * h]])# Create a graffiti canvas in RGBA. It will be warped onto the rocks.gw = max(160, int(0.30 * w))gh = max(70, int(0.15 * h))graff = np.zeros((gh, gw, 4), dtype=np.uint8)# Draw stylized graffiti text using OpenCV strokes.# Use large block letters with black shadow, white rim, and saturated fill.text = 'TAG'font = cv2.FONT_HERSHEY_DUPLEXscale = gw / 165.0thickness_outer = max(5, int(gw * 0.050))thickness_mid = max(3, int(gw * 0.032))thickness_fill = max(2, int(gw * 0.020))# Fit text inside graffiti canvas.((tw, th), baseline) = cv2.getTextSize(text, font, scale, thickness_fill)while tw > gw * 0.86 or th > gh * 0.60:scale *= 0.92((tw, th), baseline) = cv2.getTextSize(text, font, scale, thickness_fill)x0 = int((gw - tw) * 0.5)y0 = int(gh * 0.58 + th * 0.22)# Black drop shadow / outlinecv2.putText(graff, text, (x0 + int(gw * 0.025), y0 + int(gh * 0.045)), font, scale,(8, 5, 15, 210), thickness_outer + 2, cv2.LINE_AA)# White outer rimcv2.putText(graff, text, (x0, y0), font, scale,(245, 245, 235, 235), thickness_outer, cv2.LINE_AA)# Pink/magenta bodycv2.putText(graff, text, (x0, y0), font, scale,(228, 30, 172, 245), thickness_mid, cv2.LINE_AA)# Orange inner highlight, offset upward-leftcv2.putText(graff, text, (x0 - int(gw * 0.006), y0 - int(gh * 0.025)), font, scale,(255, 180, 45, 220), thickness_fill, cv2.LINE_AA)# Cyan lowlight, offset downward-rightcv2.putText(graff, text, (x0 + int(gw * 0.012), y0 + int(gh * 0.025)), font, scale,(20, 210, 230, 190), max(1, thickness_fill - 1), cv2.LINE_AA)# Add underline swoosh and small tag marks.cv2.ellipse(graff, (int(gw * 0.50), int(gh * 0.78)), (int(gw * 0.40), int(gh * 0.10)),-4, 190, 350, (10, 10, 15, 185), max(2, int(gw * 0.020)), cv2.LINE_AA)cv2.ellipse(graff, (int(gw * 0.50), int(gh * 0.76)), (int(gw * 0.38), int(gh * 0.085)),-4, 190, 350, (40, 235, 210, 215), max(2, int(gw * 0.014)), cv2.LINE_AA)# Drips beneath the letters.rng = random.Random(7)for frac_x, length_frac, col in [(0.27, 0.18, (230, 30, 165, 190)),(0.45, 0.13, (255, 175, 40, 170)),(0.67, 0.16, (35, 220, 220, 180))]:px = int(gw * frac_x)py = int(gh * 0.64)length = int(gh * length_frac)cv2.line(graff, (px, py), (px + rng.randint(-2, 2), py + length), col, max(2, int(gw * 0.014)), cv2.LINE_AA)cv2.circle(graff, (px + rng.randint(-2, 2), py + length), max(2, int(gw * 0.014)), col, -1, cv2.LINE_AA)# Spray speckles around the tag.for _ in range(150):px = int(rng.gauss(gw * 0.50, gw * 0.28))py = int(rng.gauss(gh * 0.50, gh * 0.25))if 0 <= px < gw and 0 <= py < gh:r = rng.choice([1, 1, 1, 2])color = rng.choice([(255, 60, 180, rng.randint(45, 120)),(255, 190, 45, rng.randint(35, 105)),(40, 220, 230, rng.randint(35, 110)),(245, 245, 235, rng.randint(25, 80))])cv2.circle(graff, (px, py), r, color, -1, cv2.LINE_AA)# Warp graffiti canvas onto the rock surface.src = np.float32([[0, 0], [gw - 1, 0], [gw - 1, gh - 1], [0, gh - 1]])M = cv2.getPerspectiveTransform(src, dst)warped = cv2.warpPerspective(graff, M, (w, h), flags=cv2.INTER_LINEAR, borderMode=cv2.BORDER_CONSTANT, borderValue=(0, 0, 0, 0))rgb = warped[:, :, :3].astype(np.float32)alpha = warped[:, :, 3].astype(np.float32) / 255.0# Feather edges to avoid pasted look.alpha_blur = cv2.GaussianBlur(alpha, (0, 0), sigmaX=max(0.7, w / 700.0), sigmaY=max(0.7, h / 700.0))alpha = np.clip(alpha_blur, 0, 0.90)# Modulate graffiti by underlying rock luminance, preserving local shading.base_f = base.astype(np.float32)gray = cv2.cvtColor(base, cv2.COLOR_RGB2GRAY).astype(np.float32) / 255.0shade = 0.72 + 0.42 * grayshade = shade[:, :, None]rgb_shaded = np.clip(rgb * shade, 0, 255)# Add very small texture/noise to paint so it is not perfectly flat.noise = np.random.default_rng(12).normal(0, 3.0, base.shape).astype(np.float32)rgb_shaded = np.clip(rgb_shaded + noise, 0, 255)# Slightly reduce opacity in very dark/non-rock surrounding pixels, keeping the tag on the intended surface.# The warped alpha already confines the edit; this just lets rock texture show through.alpha3 = alpha[:, :, None]out = base_f * (1.0 - alpha3) + rgb_shaded * alpha3# Preserve exact original outside a soft mask bounding region to prevent accidental changes elsewhere.preserve_mask = np.zeros((h, w), dtype=np.float32)cv2.fillConvexPoly(preserve_mask, dst.astype(np.int32), 1.0)preserve_mask = cv2.GaussianBlur(preserve_mask, (0, 0), sigmaX=max(1.0, w / 450.0))final_alpha = np.clip(np.maximum(alpha, 0) * preserve_mask, 0, 1)[:, :, None]out = base_f * (1.0 - final_alpha) + out * final_alphaout = np.clip(out, 0, 255).astype(np.uint8)return Image.fromarray(out, 'RGB')</pre></details></article><article class="card"><h3>新合格样本:Replace the boarding passenger with a folded stroller. Keep the new object in the same bottom-right instruction image position and similar scale. Preserve the Move In label and the panel border.</h3><p class="muted">maskedit_en · GPT-6.1-Sol · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_b93e1f28e309_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_b93e1f28e309_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_b93e1f28e309_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["The bottom-right instruction photograph shows a passenger in a blue jacket boarding the bus.","The photograph has a white rounded panel border and a Move In label beneath it.","The passenger occupies the right side of the small photograph, beside the bus doorway."],"target_object": "The boarding passenger in the bottom-right instruction photograph","target_region": "The passenger silhouette inside the lower-right photo, above the Move In label","editing_intent": "Replace the passenger with a realistically shaded folded stroller at approximately the same position and scale.","editing_plan": ["Mask the passenger while excluding the panel border and label.","Remove the passenger with inpainting and restore bus-door texture using pixels from the larger bus entrance.","Construct a folded stroller with pleated fabric, metallic folding supports, a handle, wheels, and a soft floor shadow.","Antialias and texture the stroller, then composite it inside the photograph without changing the surrounding layout."],"preservation_constraints": ["Keep the Move In label unchanged.","Keep the rounded white panel border unchanged.","Preserve the other instruction panels, numbered markers, headline, and CityRide branding.","Keep edits confined to the passenger area and the replacement stroller within the bottom-right photograph."]}def edit(image):import numpy as npimport cv2from PIL import Image, ImageDraw, ImageFilteroriginal = image.convert('RGB')w, h = original.sizearr = np.asarray(original).copy()unit = min(w, h)rng = np.random.default_rng(27)def ip(points):return [(int(round(x*w)), int(round(y*h))) for x, y in points]# The removal mask follows the head, jacket, hands, and trousers.mask_im = Image.new('L', (w, h), 0)md = ImageDraw.Draw(mask_im)silhouette = [(.870,.690),(.887,.691),(.901,.703),(.904,.725),(.920,.735),(.930,.750),(.936,.783),(.940,.817),(.933,.840),(.927,.850),(.928,.872),(.933,.910),(.901,.910),(.889,.870),(.880,.858),(.870,.881),(.880,.910),(.845,.910),(.837,.878),(.836,.864),(.827,.852),(.827,.839),(.836,.820),(.831,.808),(.833,.768),(.843,.748),(.860,.734),(.862,.711)]md.polygon(ip(silhouette), fill=255)mask = np.asarray(mask_im)radius = max(1, int(round(unit*.0035)))kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (2*radius+1, 2*radius+1))mask = cv2.dilate(mask, kernel)photo = np.zeros((h, w), np.uint8)photo[int(.691*h):int(.914*h), int(.738*w):int(.969*w)] = 255mask = cv2.bitwise_and(mask, photo)clean = cv2.inpaint(arr, mask, max(2, int(unit*.009)), cv2.INPAINT_TELEA)# Reuse real glass, framing, and step texture from an unoccupied part# of the large bus entrance rather than leaving a smooth inpainted void.bx0, by0, bx1, by1 = int(.821*w), int(.687*h), int(.945*w), int(.914*h)sx0, sy0, sx1, sy1 = int(.355*w), int(.340*h), int(.425*w), int(.855*h)donor = arr[sy0:sy1, sx0:sx1]donor = cv2.resize(donor, (bx1-bx0, by1-by0), interpolation=cv2.INTER_CUBIC)donor = np.clip(donor.astype(np.float32)*.88, 0, 255)a = cv2.GaussianBlur(mask.astype(np.float32)/255, (0, 0), max(.45, unit*.0015))a *= photo.astype(np.float32)/255# A small amount of the inpainted context keeps the doorway lighting consistent.local_a = a[by0:by1, bx0:bx1, None]*.94clean[by0:by1, bx0:bx1] = np.clip(clean[by0:by1, bx0:bx1].astype(np.float32)*(1-local_a) + donor*local_a,0, 255).astype(np.uint8)grain = rng.normal(0, .65, (h, w, 1)).astype(np.float32)clean = np.clip(clean.astype(np.float32) + grain*a[...,None], 0, 255).astype(np.uint8)base = Image.fromarray(clean, 'RGB').convert('RGBA')# Render the replacement locally at high resolution for natural edges.x0, y0, x1, y1 = int(.810*w), int(.705*h), int(.954*w), int(.914*h)rw, rh = x1-x0, y1-y0S = 4W, H = rw*S, rh*Slayer = Image.new('RGBA', (W, H), (0,0,0,0))yy, xx = np.mgrid[0:H, 0:W].astype(np.float32)gx = (xx/S+x0)/wgy = (yy/S+y0)/hlow_noise = rng.normal(0, 1, (max(2,rh), max(2,rw))).astype(np.float32)low_noise = cv2.resize(low_noise, (W,H), interpolation=cv2.INTER_CUBIC)def p(xy):return ((xy[0]*w-x0)*S, (xy[1]*h-y0)*S)def material(points, color, variation=.12, folds=False):nonlocal layerm = Image.new('L', (W,H), 0)ImageDraw.Draw(m).polygon([p(q) for q in points], fill=255)m = m.filter(ImageFilter.GaussianBlur(.32*S))light = 1.04 - .65*(gx-.85) - .45*(gy-.76)if folds:phase = (gx-.20*(gy-.76)-.85)*w/2.1light += variation*np.sin(phase) + .045*np.sin(phase*2.1)else:light += variation*.3*np.sin((gx+gy)*31)rgb = np.asarray(color, np.float32)[None,None,:]*light[...,None]rgb = np.clip(rgb + low_noise[...,None]*1.6, 0,255).astype(np.uint8)rgba = np.dstack([rgb, np.asarray(m)])layer = Image.alpha_composite(layer, Image.fromarray(rgba, 'RGBA'))def stroke(points, color, width):nonlocal layerd = ImageDraw.Draw(layer)pts = [p(q) for q in points]width_px = max(1, int(round(width*unit*S)))d.line(pts, fill=color, width=width_px, joint='curve')r = width_px/2for q in (pts[0], pts[-1]):d.ellipse((q[0]-r,q[1]-r,q[0]+r,q[1]+r), fill=color)def tube(points, width=.0054, metallic=True):stroke(points, (22,27,29,255), width*1.48)stroke(points, (99,111,114,255) if metallic else (35,40,43,255), width)shifted = [(x-.0007,y-.0007) for x,y in points]stroke(shifted, (180,191,191,240) if metallic else (77,85,87,240), width*.33)def ellipse(center, rx, ry, color):d = ImageDraw.Draw(layer)a0 = p((center[0]-rx,center[1]-ry))a1 = p((center[0]+rx,center[1]+ry))d.ellipse((a0[0],a0[1],a1[0],a1[1]), fill=color)def bezier(a,b,c,d,n=22):out=[]for t in np.linspace(0,1,n):q=(1-t)**3*np.array(a)+3*(1-t)**2*t*np.array(b)+3*(1-t)*t*t*np.array(c)+t**3*np.array(d)out.append(tuple(q))return outshadow = Image.new('RGBA', (W,H), (0,0,0,0))sd = ImageDraw.Draw(shadow)a0, a1 = p((.829,.889)), p((.939,.912))sd.ellipse((a0[0],a0[1],a1[0],a1[1]), fill=(7,12,13,96))shadow = shadow.filter(ImageFilter.GaussianBlur(max(1,unit*.003*S)))layer = Image.alpha_composite(layer, shadow)# Rear wheels and supports are partly occluded by the folded fabric.for center in [(.866,.879),(.907,.877)]:ellipse(center,.0095,.0105,(15,19,21,255))ellipse((center[0]-.001,center[1]-.001),.0055,.0062,(63,70,73,255))ellipse(center,.0022,.0027,(151,162,164,255))tube([(.880,.754),(.912,.873)], .0043)tube([(.887,.782),(.866,.880)], .0040)# The narrow, pleated bundle makes the stroller visibly folded.material([(.875,.752),(.892,.749),(.910,.786),(.922,.837),(.906,.871),(.873,.862),(.850,.837),(.858,.797)],(40,54,65), .16, True)material([(.875,.759),(.883,.758),(.898,.824),(.894,.866),(.879,.858),(.866,.816)], (62,76,85), .14, True)material([(.889,.772),(.901,.787),(.918,.837),(.906,.858),(.898,.841)], (25,36,44), .14, True)material([(.851,.828),(.874,.816),(.908,.835),(.906,.860),(.876,.866),(.857,.852)], (43,58,68), .13, True)stroke([(.867,.779),(.873,.816),(.883,.855)], (92,105,113,170), .0013)stroke([(.891,.783),(.903,.834),(.905,.855)], (12,23,31,205), .0017)stroke([(.855,.837),(.876,.852),(.902,.856)], (110,123,127,170), .0012)# Handle loop with rounded bends and a dark foam grip.handle = bezier((.862,.778),(.855,.750),(.859,.730),(.873,.725))handle += bezier((.873,.725),(.883,.721),(.897,.726),(.901,.740))handle += bezier((.901,.740),(.904,.751),(.895,.766),(.894,.780))tube(handle, .0051)grip = bezier((.864,.735),(.873,.722),(.890,.726),(.897,.735))stroke(grip, (20,25,28,255), .0074)stroke([(x-.0005,y-.0011) for x,y in grip], (76,83,86,220), .0013)# Exposed folding chassis, crossed struts, and fastening strap.tube([(.866,.783),(.851,.835),(.848,.888)], .0048)tube([(.895,.784),(.915,.843),(.922,.887)], .0053)tube([(.855,.827),(.917,.880)], .0037)tube([(.908,.826),(.853,.880)], .0037)tube([(.848,.888),(.920,.888)], .0039)material([(.865,.817),(.912,.829),(.909,.840),(.862,.829)],(19,24,28), .07, False)material([(.889,.827),(.899,.829),(.898,.837),(.888,.835)],(100,108,110), .05, False)material([(.891,.829),(.897,.830),(.896,.834),(.890,.833)],(23,29,31), .02, False)for joint in [(.851,.835),(.915,.843),(.883,.854)]:ellipse(joint,.0030,.0032,(32,37,39,255))ellipse((joint[0]-.0004,joint[1]-.0005),.0011,.0012,(165,175,177,255))# Two foreground wheels, with rounded tire shading and recessed hubs.for center, rx, ry in [((.847,.894),.0125,.0150),((.921,.894),.0120,.0145)]:ellipse(center,rx,ry,(12,16,18,255))ellipse((center[0]-.0010,center[1]-.0010),rx*.83,ry*.84,(38,43,46,255))ellipse((center[0]+.0012,center[1]+.0012),rx*.67,ry*.70,(21,26,29,255))ellipse((center[0]-.0010,center[1]-.0005),rx*.41,ry*.43,(111,121,126,255))ellipse(center,rx*.27,ry*.29,(50,60,65,255))ellipse((center[0]-.001,center[1]-.001),rx*.12,ry*.13,(191,201,203,255))arc = []for t in np.linspace(3.45,4.95,16):arc.append((center[0]+rx*.86*np.cos(t),center[1]+ry*.86*np.sin(t)))stroke(arc,(91,98,101,175),.0013)layer = layer.resize((rw,rh), Image.Resampling.LANCZOS)la = np.asarray(layer).copy()# Subtle sensor texture integrates the synthetic object with the small photo.noise = rng.normal(0,.8,(rh,rw,1))la[:,:,:3] = np.clip(la[:,:,:3].astype(np.float32)+noise,0,255).astype(np.uint8)la[:,:,3] = (la[:,:,3].astype(np.float32)*photo[y0:y1,x0:x1]/255).astype(np.uint8)base.alpha_composite(Image.fromarray(la,'RGBA'), (x0,y0))result = np.asarray(base.convert('RGB')).copy()# Explicit protection of all pixels outside the photograph interior.result[photo == 0] = arr[photo == 0]return Image.fromarray(result, 'RGB')</pre></details></article></main><script>setTimeout(()=>location.reload(),120000)</script></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Qwen Pixel-Edit 当前训练进度</title><style>:root{color-scheme:dark;--bg:#0b1020;--panel:#141d32;--text:#e9eef8;--muted:#9caec9;--line:#293651;--accent:#70e0c1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:1160px;margin:auto;padding:32px 22px}h1{font-size:40px;line-height:1.2;margin:10px 0}h2{font-size:23px}h3{font-size:18px}.muted{color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;margin:15px 0}.big{font-size:48px;color:var(--accent);font-weight:700;line-height:1.2}.pill{background:#193c38;color:#9bf0d6;border-radius:30px;padding:5px 12px;font-size:12px}.bar{height:7px;background:#29364e;border-radius:6px;overflow:hidden;margin-top:12px}.bar i{display:block;height:100%;background:var(--accent)}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}.scroll{overflow:auto}canvas{width:100%;height:240px;background:#10182b;border-radius:12px}.images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.triple{grid-template-columns:repeat(3,1fr)}figure{margin:0}img{width:100%;display:block;border-radius:10px;object-fit:contain;background:#080d17}figcaption{text-align:center;color:var(--muted);font-size:13px;padding:8px}pre{white-space:pre-wrap;word-break:break-word;max-height:480px;overflow:auto;background:#0b1222;padding:18px;border-radius:10px;font:12px/1.6 ui-monospace,monospace}summary{cursor:pointer;color:var(--accent)}.notice{border-left:3px solid var(--accent);padding-left:16px}.links a{color:var(--accent)}@media(max-width:700px){h1{font-size:30px}.grid{grid-template-columns:1fr}.card{padding:16px}.triple{grid-template-columns:1fr}.big{font-size:40px}}.rgb-images{grid-template-columns:repeat(5,1fr)}a{color:var(--accent)}@media(max-width:700px){.rgb-images{grid-template-columns:1fr 1fr}} .gain64-images{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.gain64-images{grid-template-columns:1fr 1fr}}</style></head><body><main><h1>Qwen Pixel-Edit:当前训练进度</h1><p class="muted">2026-11-25 12:28:49 北京时间 · <a href="index.html">完整实验看板</a></p><section class="card" id="current-editing"><h2>当前主线:训练 one-shot Pixel-Edit 模型</h2><p>模型输入原图和英文编辑指令,一次输出计划与 Python,程序从原图计算修改后的 RGB。下面统计训练样本行数,RFT + TI 可以直接相加。</p><div class="big">18,729 行英文 SFT 库存</div><p>RFT 13,359 + TI 5,370 · 独立任务 12,817。库存包含不同 teacher 和增强版本,冻结训练快照需另做相同监督去重与质量审核。</p><div class="scroll"><table><thead><tr><th>来源</th><th>RFT</th><th>TI</th><th>合计</th></tr></thead><tbody><tr><td>anyedit</td><td>938</td><td>325</td><td>1,263</td></tr><tr><td>instructpix2pix</td><td>793</td><td>249</td><td>1,042</td></tr><tr><td>magicbrush</td><td>5,238</td><td>3,587</td><td>8,825</td></tr><tr><td>maskedit_en</td><td>492</td><td>285</td><td>777</td></tr><tr><td>maskedit_scene</td><td>464</td><td>268</td><td>732</td></tr><tr><td>sciforma</td><td>1,891</td><td>113</td><td>2,004</td></tr><tr><td>ultraedit</td><td>3,543</td><td>543</td><td>4,086</td></tr></tbody></table></div></section><section class="card" id="rl-current"><h2>最新 RL smoke:同一批 64 个 MagicBrush dev 任务</h2><div class="grid"><div><p>SFT 起点</p><div class="big">3/64</div><p>代码执行 44/64</p></div><div><p>RL 后</p><div class="big">11/64</div><p>代码执行 46/64</p></div></div><p>3 次真实参数更新,初始 SFT reference 权重不变。10 个任务由失败变成功,2 个由成功变失败。</p><p class="notice">这是自建图像 judge 的语义评估,不是官方像素指标。目前只有一个训练 seed,旧 greedy 推理存在数值重复性问题。正在用固定数值设置重复评测;不能直接归因为稳定 RL 收益。</p></section><section class="card" id="matched-sft"><h2>正在推进:同 teacher、同任务的 RFT/TI 配比实验</h2><p>每个配置覆盖相同的 256 个真实训练任务,TI 替换 RFT 答案。0%、25%、50% 是样本行数比例,三组总回答 token 预算均为 100 万;实际 TI token 比例另行统计。</p><p><b>ti00</b> · 133 步 · 850,233 / 1,000,000 回答 tokens · loss 0.45236895978450775</p><div class="bar"><i style="width:85.0%"></i></div><p class="muted">实际TI回答token占比 0.0% · 平均每行出现 1.04 次</p><p><b>ti25</b> · 129 步 · 846,340 / 1,000,000 回答 tokens · loss 0.667795866727829</p><div class="bar"><i style="width:84.6%"></i></div><p class="muted">实际TI回答token占比 28.6% · 平均每行出现 1.01 次</p><p><b>ti50</b> · 127 步 · 855,166 / 1,000,000 回答 tokens · loss 0.7441941797733307</p><div class="bar"><i style="width:85.5%"></i></div><p class="muted">实际TI回答token占比 53.1% · 平均每行出现 0.99 次</p><p class="muted">此实验限于 RFT 和 TI 都成功的任务,测试监督形式;TI 救回难任务的覆盖收益需要另一组对照。官方 benchmark、独立人工审核、跨数据集与多 seed 结果仍待补齐。</p></section><section class="card"><h2>当前重复验证</h2><p>固定数值设置和6k输出预算,重新测同一批dev64;第二个RL seed采用相同设置。推理完成后展示全量结果。</p><div class="scroll"><table><thead><tr><th>流程</th><th>已评任务</th><th>执行成功</th><th>图像judge通过</th></tr></thead><tbody><tr><td>SFT起点</td><td>13/64</td><td>6</td><td>1</td></tr><tr><td>已有RL模型</td><td>13/64</td><td>10</td><td>3</td></tr><tr><td>Qwen3.8零样本</td><td>23/64</td><td>17</td><td>3</td></tr></tbody></table></div></section><section class="card" id="data-growth"><h2>持续构造 SFT 数据</h2><p>任务池 <b>9,398</b> 个 · 本次合格轨迹 <b>3,646</b> 条 · 对应 <b>3,646</b> 个任务</p><p class="muted">生产心跳:2026-11-25T12:28:37.336539+08:00 · 白天并发配置。任务池会自动读取新数据,不在 128 条或 10k 行时停止。</p><div class="scroll"><table><thead><tr><th>Teacher / 方式</th><th>运行或等待 API / 并发上限</th><th>待处理</th><th>已完成</th><th>合格轨迹</th><th>待重试</th></tr></thead><tbody><tr><td>GPT-5.5 · RFT</td><td>1 / 8</td><td>590</td><td>3,219</td><td>658</td><td>0</td></tr><tr><td>GPT-6.1-Sol · RFT</td><td>4 / 4</td><td>1,903</td><td>5,500</td><td>2,296</td><td>963</td></tr><tr><td>GPT-5.6-Terra · RFT</td><td>0 / 2</td><td>175</td><td>772</td><td>205</td><td>0</td></tr><tr><td>GPT-5.6-Luna · RFT</td><td>2 / 2</td><td>175</td><td>761</td><td>193</td><td>0</td></tr><tr><td>GPT-6.1-Sol · TI</td><td>2 / 4</td><td>315</td><td>2,889</td><td>294</td><td>311</td></tr></tbody></table></div><p>自动扩库:<b>读取新的官方训练分片</b>。已接入任务:{"anyedit": 2682, "maskedit_scene": 768, "maskedit_en": 698, "maskedit_cn": 523, "ultraedit": 1120, "instructpix2pix": 1451}。</p><p>已导出 <b>3,646</b> 条新 SFT 轨迹。原有 8,601 / 12,006 条对照训练集保持冻结,新增数据单独保存,用于后续规模实验。</p><p class="notice">合格要求:一次 teacher 输出、程序过滤、执行、完整目标区域的图像 judge 和重用执行检查通过。API 或 judge 错误会重试,不计为成功样本。任务按原图内容分组,排除官方 MagicBrush dev 与现有验证图片的内容重叠。TI 在 source-only 失败后补救,学生输入只包含原图和指令。</p></section><section class="card" id="ti-enrichment"><h2>英文 TI:独立补充训练样本</h2><p>RFT成功的任务也构造TI,保留两种方法的合格轨迹。新数据只保留英文任务和监督文本;旧实验保留用于复现,中文子集不进入新训练快照。北京时间工作日18:00–09:00、周末全天提高Sol并发。1:1为训练配比对照目标,当前通过率不被人为调整。</p><p>独立TI合格样本 <b>1,539</b> · 生产心跳 2026-11-25T12:28:37.331544+08:00</p><div class="scroll"><table><thead><tr><th>TI teacher</th><th>运行/并发上限</th><th>待处理</th><th>已完成</th><th>合格</th><th>待重试</th></tr></thead><tbody><tr><td>GPT-5.5</td><td>0/8</td><td>204</td><td>2,758</td><td>317</td><td>0</td></tr><tr><td>GPT-6.1-Sol</td><td>3/4</td><td>2,429</td><td>1,749</td><td>220</td><td>2060</td></tr><tr><td>GPT-5.6-Terra</td><td>2/2</td><td>2,200</td><td>908</td><td>59</td><td>1803</td></tr><tr><td>GPT-5.6-Luna</td><td>1/2</td><td>1,662</td><td>855</td><td>55</td><td>1303</td></tr><tr><td>GPT-6.2-Sol</td><td>3/4</td><td>654</td><td>3,567</td><td>888</td><td>9</td></tr></tbody></table></div><h3>当前英文SFT库存:按样本行数统计,可相加</h3><div class="scroll"><table><thead><tr><th>数据来源</th><th>RFT行数</th><th>TI行数</th><th>合计</th></tr></thead><tbody><tr><td>anyedit</td><td>938</td><td>325</td><td>1,263</td></tr><tr><td>instructpix2pix</td><td>793</td><td>249</td><td>1,042</td></tr><tr><td>magicbrush</td><td>5,238</td><td>3,587</td><td>8,825</td></tr><tr><td>maskedit_en</td><td>492</td><td>285</td><td>777</td></tr><tr><td>maskedit_scene</td><td>464</td><td>268</td><td>732</td></tr><tr><td>sciforma</td><td>1,891</td><td>113</td><td>2,004</td></tr><tr><td>ultraedit</td><td>3,543</td><td>543</td><td>4,086</td></tr></tbody></table></div><p>英文SFT行数 <b>18,729</b> = RFT 13,359 + TI 5,370;独立任务覆盖 12,817。行数包含不同teacher轨迹和增强版本,后续冻结训练快照另做完全相同监督内容的去重。</p></section><article class="card"><h3>新合格样本:have all the flowers be roses</h3><p class="muted">instructpix2pix · GPT-6.1-Sol · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_48183a54f0b8_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_48183a54f0b8_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_48183a54f0b8_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["A large purple flower with a yellow center fills the upper-left corner and overlaps the side of the face.","A smaller purple flower with a yellow center is visible at the lower right.","Both flowers have separated, elongated petals rather than layered rose petals.","The portrait, dark background, and green foliage surround the flowers."],"target_object": "Both visible purple flowers","target_region": "The large upper-left bloom and the smaller lower-right bloom","editing_intent": "Replace both flowers with purple-magenta roses, using overlapping, curled petals while preserving the portrait and surrounding foliage.","editing_plan": ["Identify the purple petals and yellow centers within the two flower regions.","Remove the original flower pixels with masked inpainting, retaining nearby foliage and facial features.","Construct two roses with irregular overlapping petal layers, tightly curled centers, shaded folds, and illuminated rims.","Transfer texture from an existing purple petal, add subtle grain, and feather the replacement boundaries.","Restore protected facial pixels and leave everything outside the flower replacements unchanged."],"preservation_constraints": ["Keep the face, eyes, eyebrows, nose, lips, and visible skin unchanged.","Preserve the green foliage outside the flower masks.","Keep the original framing and dark background.","Maintain the flowers' purple-magenta color family and the scene's soft lighting."]}def edit(image):import numpy as npimport cv2from PIL import Imageoriginal = np.asarray(image.convert('RGB')).copy()h, w = original.shape[:2]yy, xx = np.mgrid[0:h, 0:w].astype(np.float32)X, Y = xx / float(w), yy / float(h)rgb = original.astype(np.float32)R, G, B = rgb[:, :, 0], rgb[:, :, 1], rgb[:, :, 2]rng = np.random.default_rng(37)left_roi = (X < 0.478) & (Y < 0.678)right_roi = (X > 0.757) & (Y > 0.652)purple = (R > 32) & (B > 17) & (R > 1.38 * G) & (B > 1.20 * G)yellow = (R > 95) & (G > 65) & (B < 0.74 * G)yellow_area = ((X < 0.25) & (Y > 0.18) & (Y < 0.405)) | right_roiflower = ((left_roi | right_roi) & purple) | (yellow & yellow_area)# Protect the actual visible skin, including the cheeks near both blooms.skin = ((X > 0.305) & (X < 0.95) & (Y < 0.90) &(R > 1.08 * G) & (G > 0.94 * B) &(B > 0.74 * G) & (G > 58))skin &= ~flowerprotect = cv2.dilate(skin.astype(np.uint8), np.ones((3, 3), np.uint8)).astype(bool)flower &= ~protectmask = flower.astype(np.uint8) * 255kernel_size = max(3, int(round(w * 0.005)) | 1)mask = cv2.dilate(mask, np.ones((kernel_size, kernel_size), np.uint8))mask[protect] = 0mask[~(left_roi | right_roi)] = 0cleaned = cv2.inpaint(original, mask, max(3, int(w * 0.014)), cv2.INPAINT_TELEA)# Keep fine image grain in the small areas exposed by changing silhouettes.residual = rgb - cv2.GaussianBlur(rgb, (0, 0), max(0.7, w * 0.0018))grain_sigma = float(np.clip(np.std(residual[~flower]) * 0.30, 0.65, 1.8))base = cleaned.astype(np.float32)fill_noise = rng.normal(0, grain_sigma, (h, w, 1)).astype(np.float32)base = np.clip(base + fill_noise * (mask[:, :, None] / 255.0), 0, 255)# Sample texture exclusively from the broad, existing upper-left purple petal.x0, x1 = int(w * 0.132), max(int(w * 0.246), int(w * 0.132) + 2)y0, y1 = int(h * 0.363), max(int(h * 0.449), int(h * 0.363) + 2)patch = rgb[y0:y1, x0:x1]patch_lum = 0.25 * patch[:, :, 0] + 0.45 * patch[:, :, 1] + 0.30 * patch[:, :, 2]patch_lum -= cv2.GaussianBlur(patch_lum, (0, 0), max(1.0, patch.shape[1] * 0.09))patch_lum /= max(2.0, float(np.std(patch_lum)))canvas = base.copy()footprint = np.zeros((h, w), np.float32)def bezier(a, b, c, d, n=22):t = np.linspace(0.0, 1.0, n, endpoint=False)[:, None]return ((1-t)**3 * np.array(a) + 3*(1-t)**2*t * np.array(b) +3*(1-t)*t*t * np.array(c) + t**3 * np.array(d))def rose(cx, cy, rx, ry, phase):nonlocal canvas, footprintcx, cy, rx, ry = cx*w, cy*h, rx*w, ry*hnx, ny = (xx-cx)/rx, (yy-cy)/ryradial = np.sqrt(nx*nx + ny*ny)angle = np.arctan2(ny, nx)permitted = (~protect).astype(np.float32)if cx < w * 0.5:permitted *= (X < 0.478).astype(np.float32)else:permitted *= (X > 0.753).astype(np.float32)feather = max(0.50, w * 0.00115)# An irregular, shaded bowl under the separate overlapping petals.edge = 0.958 + 0.035*np.sin(7*angle+phase) + 0.018*np.sin(11*angle-0.4)body = np.clip((edge-radial)*min(rx, ry)/1.25, 0, 1)body = cv2.GaussianBlur(body.astype(np.float32), (0, 0), feather) * permittedshade = np.clip(0.33 + 0.21*(1-radial) - 0.09*nx - 0.08*ny, 0.16, 0.66)bowl = np.stack([93+78*shade, 3+17*shade, 75+70*shade], axis=2)cast = cv2.GaussianBlur(body, (0, 0), max(1.0, rx*0.035))cast = cv2.warpAffine(cast, np.float32([[1, 0, w*0.005], [0, 1, h*0.007]]), (w, h))cast *= permittedcanvas *= (1-0.28*cast[:, :, None])canvas = canvas*(1-body[:, :, None]) + bowl*body[:, :, None]footprint = np.maximum(footprint, np.maximum(body, cast))# Broad outer cups narrow into a densely folded spiral at the center.tiers = [(9, 0.97, 0.31, 0.45),(8, 0.79, 0.235, 0.365),(7, 0.625, 0.17, 0.292),(6, 0.465, 0.105, 0.222),(5, 0.325, 0.062, 0.157),(4, 0.205, 0.027, 0.106),(3, 0.118, 0.008, 0.064)]for level, (count, outer0, inner0, width0) in enumerate(tiers):offset = phase + level * 0.61for j in range(count):theta = offset + j*2*np.pi/count + rng.uniform(-0.13, 0.13)outer = outer0 * rng.uniform(0.95, 1.065)inner = inner0 * rng.uniform(0.82, 1.10)width = width0 * rng.uniform(0.89, 1.12)skew = rng.uniform(-0.10, 0.10) * widthp0 = (-0.59*width, inner)p1 = (-0.77*width+skew, outer-0.065*outer0)p2 = (0.78*width+skew, outer-0.025*outer0)p3 = (0.48*width, inner+0.012)outline = np.concatenate([bezier(p0, (-1.08*width, inner+0.20*outer0),(-1.14*width, outer-0.17*outer0), p1),bezier(p1, (-0.37*width, outer+0.080*outer0),(0.30*width, outer+0.100*outer0), p2),bezier(p2, (1.10*width, outer-0.13*outer0),(1.01*width, inner+0.13*outer0), p3),bezier(p3, (0.18*width, inner-0.075*outer0),(-0.37*width, inner-0.075*outer0), p0)], axis=0)st, ct = np.sin(theta), np.cos(theta)px = cx + rx*(outline[:, 0]*ct + outline[:, 1]*st)py = cy + ry*(outline[:, 0]*st - outline[:, 1]*ct)polygon = np.rint(np.stack([px, py], axis=1)).astype(np.int32)hard = np.zeros((h, w), np.uint8)cv2.fillPoly(hard, [polygon], 255, lineType=cv2.LINE_AA)alpha = cv2.GaussianBlur(hard.astype(np.float32)/255, (0, 0), feather)alpha *= permittedif float(alpha.max()) < 0.01:continuetcoord = nx*ct + ny*strcoord = nx*st - ny*ctu = np.clip((rcoord-inner)/max(0.03, outer-inner), 0, 1)side = tcoord/max(width, 0.01)dist = cv2.distanceTransform((hard > 127).astype(np.uint8), cv2.DIST_L2, 5)bevel = 1-np.exp(-dist/max(0.8, rx*0.035))rim_curve = outer + outer0*0.065 - outer0*0.125*(side-0.02)**2rim_distance = np.abs(rcoord-rim_curve)rim = np.exp(-rim_distance/max(0.009, outer0*0.043)) * (u > 0.57)fold = np.exp(-((side+0.72)/0.16)**2) * (0.25+0.75*u)light_direction = 0.055*(-st+ct)intensity = (0.29 + 0.46*u + 0.14*bevel + 0.135*rim- 0.17*fold - 0.095*side + light_direction)intensity += 0.040*np.sin(side*5.0 + u*3.4 + j)*np.sin(np.pi*u)intensity -= 0.035*levelintensity = np.clip(intensity, 0.14, 1.03)mapx = ((tcoord/width*0.43+0.5)*(patch.shape[1]-1)).astype(np.float32)mapy = ((1-u)*(patch.shape[0]-1)).astype(np.float32)texture = cv2.remap(patch_lum.astype(np.float32), mapx, mapy,cv2.INTER_LINEAR, borderMode=cv2.BORDER_REFLECT_101)veins = np.sin(47*side + 3*np.sin(u*8+j)) * 0.7noise = rng.normal(0, 0.8, (h, w)).astype(np.float32)detail = texture*1.6 + veins + noisevariation = rng.uniform(-5.0, 5.0)red = 65 + 176*intensity + variation + detailgreen = 1 + 32*intensity**2 + 37*rim*intensity + detail*0.46blue = 61 + 137*intensity + variation*0.65 + 13*rim + detail*0.85petal = np.clip(np.stack([red, green, blue], axis=2), 0, 255)# Fold shadows sit beneath each subsequent petal rather than outlining it.shadow = cv2.GaussianBlur(alpha, (0, 0), max(0.65, rx*0.012))shift = max(0.6, rx*0.013)shadow = cv2.warpAffine(shadow, np.float32([[1, 0, shift*0.55],[0, 1, shift]]), (w, h))shadow *= permittedcanvas *= (1-0.23*shadow[:, :, None])canvas = canvas*(1-alpha[:, :, None]) + petal*alpha[:, :, None]footprint = np.maximum(footprint, np.maximum(alpha, shadow))rose(0.107, 0.294, 0.355, 0.378, 0.23)rose(0.925, 0.813, 0.158, 0.153, 1.17)# No change is permitted outside the old blooms and new rose silhouettes.affected = np.maximum(mask.astype(np.float32)/255, footprint)affected[protect] = 0out = rgb*(1-affected[:, :, None]) + canvas*affected[:, :, None]out[protect] = rgb[protect]return Image.fromarray(np.clip(out, 0, 255).astype(np.uint8), 'RGB')</pre></details></article><article class="card"><h3>新合格样本:change the dog to a cat</h3><p class="muted">instructpix2pix · GPT-6.1-Sol · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_4758196a2190_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_4758196a2190_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_4758196a2190_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["Three dark animal silhouettes stand along the shoreline: one on the left, one near the center, and one on the right.","The animals have visible bodies, legs, tails, and dark reflections beneath them.","The scene is a textured watercolor with orange sunset light, blue water, and a warm-colored foreground."],"target_object": "The three dog silhouettes","target_region": "The animals across the lower half of the image and their corresponding reflections","editing_intent": "Replace the dogs with recognizable cats while retaining the watercolor silhouette style, positions, lighting, and shoreline setting.","editing_plan": ["Mask the existing animals using their visible outlines and dark pigment.","Remove the original silhouettes and incompatible reflections, restoring surrounding watercolor color and texture.","Construct cats with pointed ears, feline heads, slender legs, rounded bodies, and curved tails.","Give the silhouettes subtle pigment variation, soft irregular edges, contact shadows, and distorted reflections.","Blend the edited pixels while preserving the sunset, water, foreground, and signature."],"preservation_constraints": ["Keep the orange sunset and blue water unchanged outside the animal regions.","Preserve the watercolor grain and horizontal bands of color.","Keep the animals at approximately their original locations and scale.","Preserve the lower-right signature.","Do not introduce external image content."]}def edit(image):import numpy as npimport cv2from PIL import Image, ImageDraww, h = image.sizeoriginal = np.asarray(image.convert('RGB'), dtype=np.uint8)rng = np.random.default_rng(19)unit = min(w, h)scale = 3sw, sh = w * scale, h * scaledef polygon_mask(points):canvas = Image.new('L', (sw, sh), 0)ImageDraw.Draw(canvas).polygon([(int(x * sw), int(y * sh)) for x, y in points], fill=255)return np.asarray(canvas.resize((w, h), Image.Resampling.LANCZOS), dtype=np.uint8)outlines = [[(0,.704),(.025,.697),(.059,.671),(.065,.641),(.032,.610),(.026,.585),(.046,.585),(.079,.620),(.136,.630),(.183,.657),(.196,.646),(.204,.632),(.226,.630),(.243,.643),(.256,.661),(.282,.676),(.283,.693),(.256,.703),(.236,.713),(.239,.731),(.250,.749),(.247,.773),(.230,.786),(.209,.787),(.207,.772),(.226,.757),(.204,.739),(.180,.729),(.170,.748),(.165,.762),(.179,.777),(.176,.791),(.156,.787),(.143,.766),(.143,.743),(.150,.724),(.116,.713),(.103,.734),(.094,.746),(.110,.759),(.114,.779),(.101,.791),(.085,.780),(.084,.769),(.065,.750),(.069,.722),(.078,.697),(.046,.718),(0,.729)],[(.312,.532),(.329,.526),(.353,.544),(.388,.555),(.404,.573),(.430,.582),(.449,.605),(.455,.638),(.453,.679),(.460,.714),(.462,.735),(.451,.745),(.433,.744),(.425,.730),(.431,.716),(.422,.686),(.411,.657),(.400,.681),(.397,.707),(.406,.732),(.417,.745),(.406,.758),(.387,.749),(.379,.728),(.365,.706),(.351,.693),(.350,.679),(.366,.674),(.371,.653),(.366,.620),(.368,.600),(.346,.587),(.337,.565),(.321,.553)],[(.691,.744),(.712,.729),(.714,.715),(.726,.703),(.731,.681),(.747,.663),(.764,.663),(.762,.704),(.785,.716),(.793,.697),(.798,.681),(.815,.680),(.822,.718),(.843,.739),(.857,.764),(.855,.796),(.864,.820),(.880,.839),(.881,.859),(.859,.866),(.843,.848),(.832,.827),(.824,.809),(.808,.793),(.796,.798),(.794,.814),(.805,.831),(.794,.844),(.776,.835),(.767,.808),(.754,.802),(.749,.821),(.739,.831),(.720,.823),(.716,.810),(.729,.800),(.724,.778),(.713,.761),(.693,.761)]]envelope = np.maximum.reduce([polygon_mask(p) for p in outlines])luminance = cv2.cvtColor(original, cv2.COLOR_RGB2GRAY)animal_mask = ((envelope > 40) & (luminance < 112)).astype(np.uint8) * 255radius = max(1, int(round(unit * .004)))kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (radius * 2 + 1, radius * 2 + 1))animal_mask = cv2.dilate(animal_mask, kernel)def ellipse_on(mask, cx, cy, rx, ry, value=255):cv2.ellipse(mask, (int(cx*w), int(cy*h)), (max(1,int(rx*w)), max(1,int(ry*h))), 0, 0, 360, value, -1)old_reflection = np.zeros((h, w), np.uint8)for e in [(.064,.826,.029,.044),(.113,.874,.030,.043),(.217,.874,.038,.048),(.286,.811,.034,.031),(.411,.825,.034,.069),(.433,.880,.029,.050),(.839,.877,.030,.046),(.863,.904,.022,.035)]:ellipse_on(old_reflection, *e)old_reflection[:int(.775*h), :int(.31*w)] = 0old_reflection[:int(.752*h), int(.32*w):int(.48*w)] = 0old_reflection[:int(.851*h), int(.69*w):] = 0removal = np.maximum(animal_mask, old_reflection)restored = cv2.inpaint(original, removal, max(2, int(unit*.011)), cv2.INPAINT_TELEA).astype(np.float32)yy, xx = np.indices((h, w))donor_x = np.clip(((.49 + np.mod(xx / max(w,1) * .713, .17))*w).astype(int), 0, w-1)donor = original[yy, donor_x].astype(np.float32)donor_low = cv2.GaussianBlur(donor, (0,0), max(.7,unit*.004))donor_detail = donor - donor_lowrestored += donor_detail * .65restored += rng.normal(0, .7, (h,w,1)).astype(np.float32)removal_alpha = cv2.GaussianBlur(removal.astype(np.float32)/255, (0,0), max(.55,unit*.0013))base = original.astype(np.float32)*(1-removal_alpha[...,None]) + np.clip(restored,0,255)*removal_alpha[...,None]def make_cat(which):canvas = Image.new('L', (sw, sh), 0)draw = ImageDraw.Draw(canvas)def shape(start, curves):points = [start]p = np.array(start, dtype=float)for a,b,c in curves:a,b,c = np.array(a),np.array(b),np.array(c)for t in np.linspace(0,1,22)[1:]:q = (1-t)**3*p + 3*(1-t)**2*t*a + 3*(1-t)*t*t*b + t**3*cpoints.append(tuple(q))p = cdraw.polygon([(round(x*sw),round(y*sh)) for x,y in points], fill=255)def ellipse(cx,cy,rx,ry,angle=0):t = np.linspace(0,2*np.pi,120)a = np.deg2rad(angle)x = cx + rx*np.cos(t)*np.cos(a) - ry*np.sin(t)*np.sin(a)y = cy + rx*np.cos(t)*np.sin(a) + ry*np.sin(t)*np.cos(a)draw.polygon(list(zip(np.round(x*sw).astype(int),np.round(y*sh).astype(int))), fill=255)def triangle(points):draw.polygon([(round(x*sw),round(y*sh)) for x,y in points],fill=255)if which == 0:ellipse(.132,.690,.078,.034,7)ellipse(.204,.682,.029,.033,-16)ellipse(.237,.659,.028,.025,-5)triangle([(.212,.650),(.214,.609),(.237,.639)])triangle([(.239,.642),(.258,.617),(.261,.659)])shape((.251,.651), [((.260,.654),(.266,.665),(.279,.673)),((.285,.679),(.274,.687),(.263,.686)),((.251,.693),(.236,.683),(.231,.674)),((.231,.666),(.240,.655),(.251,.651))])shape((.079,.673), [((.045,.664),(.028,.633),(.026,.603)),((.021,.578),(.008,.580),(.014,.604)),((.015,.640),(.037,.677),(.070,.691)),((.080,.691),(.090,.682),(.079,.673))])shape((.074,.706), [((.070,.723),(.059,.738),(.063,.747)),((.067,.759),(.081,.767),(.080,.778)),((.084,.784),(.102,.784),(.103,.779)),((.097,.772),(.086,.763),(.080,.752)),((.085,.739),(.105,.730),(.112,.711)),((.102,.700),(.087,.699),(.074,.706))])shape((.105,.711), [((.111,.729),(.100,.751),(.099,.763)),((.099,.772),(.108,.778),(.114,.779)),((.118,.786),(.103,.788),(.096,.783)),((.086,.774),(.086,.764),(.089,.750)),((.089,.735),(.085,.721),(.089,.711)),((.094,.708),(.100,.709),(.105,.711))])shape((.183,.706), [((.188,.723),(.180,.745),(.180,.762)),((.182,.772),(.191,.776),(.196,.779)),((.197,.785),(.181,.785),(.176,.780)),((.168,.764),(.168,.745),(.173,.726)),((.167,.714),(.170,.708),(.183,.706))])shape((.203,.700), [((.214,.716),(.221,.739),(.224,.754)),((.226,.766),(.214,.775),(.212,.778)),((.209,.785),(.225,.785),(.230,.778)),((.240,.766),(.241,.755),(.236,.742)),((.230,.724),(.224,.709),(.224,.694)),((.219,.690),(.209,.695),(.203,.700))])elif which == 1:ellipse(.411,.685,.034,.052,-9)ellipse(.395,.635,.023,.049,-6)ellipse(.376,.591,.026,.025,-8)triangle([(.353,.581),(.350,.546),(.375,.570)])triangle([(.373,.572),(.386,.540),(.397,.585)])shape((.358,.585), [((.351,.586),(.344,.592),(.339,.597)),((.336,.602),(.342,.607),(.351,.608)),((.358,.620),(.376,.617),(.383,.607)),((.383,.598),(.367,.587),(.358,.585))])shape((.378,.658), [((.371,.679),(.371,.708),(.373,.731)),((.370,.739),(.366,.743),(.370,.747)),((.381,.751),(.396,.750),(.398,.745)),((.392,.740),(.386,.736),(.387,.724)),((.389,.700),(.395,.679),(.397,.664)),((.391,.657),(.384,.655),(.378,.658))])shape((.402,.680), [((.397,.701),(.398,.724),(.400,.738)),((.399,.743),(.395,.746),(.399,.750)),((.409,.753),(.425,.751),(.427,.746)),((.421,.740),(.414,.736),(.414,.724)),((.418,.706),(.423,.693),(.423,.687)),((.418,.677),(.411,.675),(.402,.680))])shape((.430,.714), [((.445,.724),(.458,.744),(.476,.736)),((.493,.731),(.493,.710),(.480,.701)),((.470,.694),(.463,.701),(.474,.710)),((.482,.719),(.481,.724),(.474,.726)),((.460,.730),(.447,.712),(.437,.703)),((.429,.701),(.425,.708),(.430,.714))])else:ellipse(.794,.769,.054,.030,6)ellipse(.751,.756,.025,.033,-18)ellipse(.741,.731,.024,.023,-8)triangle([(.720,.723),(.719,.684),(.742,.712)])triangle([(.744,.715),(.762,.685),(.765,.738)])shape((.726,.725), [((.715,.728),(.708,.737),(.698,.741)),((.691,.746),(.699,.752),(.711,.752)),((.720,.760),(.736,.751),(.743,.743)),((.739,.734),(.733,.730),(.726,.725))])shape((.837,.766), [((.854,.750),(.857,.730),(.850,.714)),((.842,.698),(.849,.680),(.861,.675)),((.873,.670),(.879,.677),(.869,.683)),((.859,.691),(.858,.703),(.866,.717)),((.879,.744),(.863,.770),(.846,.786)),((.838,.788),(.831,.778),(.837,.766))])shape((.746,.775), [((.748,.792),(.737,.809),(.734,.821)),((.726,.826),(.721,.828),(.725,.832)),((.735,.836),(.748,.834),(.748,.829)),((.747,.822),(.753,.809),(.758,.798)),((.765,.788),(.766,.780),(.763,.774)),((.757,.770),(.750,.772),(.746,.775))])shape((.773,.787), [((.772,.804),(.778,.822),(.781,.832)),((.777,.837),(.778,.840),(.784,.842)),((.795,.845),(.803,.842),(.800,.837)),((.793,.832),(.787,.814),(.789,.798)),((.793,.788),(.784,.784),(.773,.787))])shape((.814,.785), [((.815,.807),(.824,.824),(.829,.839)),((.825,.844),(.825,.848),(.833,.849)),((.844,.850),(.849,.846),(.843,.841)),((.834,.828),(.835,.811),(.837,.794)),((.830,.785),(.821,.781),(.814,.785))])shape((.837,.781), [((.843,.802),(.853,.821),(.862,.834)),((.865,.839),(.860,.844),(.854,.848)),((.851,.854),(.866,.857),(.872,.851)),((.880,.843),(.879,.834),(.873,.827)),((.861,.812),(.857,.793),(.855,.782)),((.851,.776),(.843,.775),(.837,.781))])return np.asarray(canvas.resize((w,h),Image.Resampling.LANCZOS),dtype=np.float32)/255cats = [make_cat(i) for i in range(3)]ground_levels = [.782,.752,.852]reflection_layer = np.zeros((h,w),np.float32)for mask, ground in zip(cats,ground_levels):distance = yy.astype(np.float32) - ground*hsource_y = ground*h - distance/0.62displacement = np.sin(distance/max(1,h*.013))*w*.004 + np.sin(yy/max(1,h*.006))*w*.0015map_x = (xx + displacement).astype(np.float32)map_y = source_y.astype(np.float32)reflected = cv2.remap(mask,map_x,map_y,cv2.INTER_LINEAR,borderMode=cv2.BORDER_CONSTANT,borderValue=0)fade = np.exp(-np.maximum(distance,0)/max(1,h*.053))reflected *= (distance >= 0) * fadereflected = cv2.GaussianBlur(reflected,(0,0),max(.9,w*.004),sigmaY=max(1,h*.0048))reflection_layer = np.maximum(reflection_layer,reflected)paper_noise = rng.normal(0,1,(h,w)).astype(np.float32)fine_noise = cv2.GaussianBlur(paper_noise,(0,0),max(.35,unit*.0008))refl_opacity = np.clip(reflection_layer*(.48+.045*fine_noise),0,.60)reflection_color = np.empty_like(base)reflection_color[:] = (34,24,30)reflection_color += donor_detail*.18base = base*(1-refl_opacity[...,None]) + reflection_color*refl_opacity[...,None]shadow = np.zeros((h,w),np.uint8)for e in [(.091,.781,.020,.004),(.181,.783,.018,.004),(.222,.783,.019,.004),(.397,.751,.033,.005),(.740,.834,.018,.004),(.789,.843,.017,.004),(.843,.851,.032,.005)]:ellipse_on(shadow,*e)shadow_alpha = cv2.GaussianBlur(shadow.astype(np.float32)/255,(0,0),max(.8,unit*.003))*.33base = base*(1-shadow_alpha[...,None]) + np.array([23,24,30],np.float32)*shadow_alpha[...,None]combined = np.maximum.reduce(cats)coarse_noise = cv2.GaussianBlur(rng.normal(0,1,(h,w)).astype(np.float32),(0,0),max(1,unit*.004))edge_noise = cv2.GaussianBlur(rng.normal(0,1,(h,w)).astype(np.float32),(0,0),max(.45,unit*.001))combined = np.clip(combined + edge_noise*.055*4*combined*(1-combined),0,1)alpha = cv2.GaussianBlur(combined,(0,0),max(.35,unit*.0008))distance_inside = cv2.distanceTransform((combined>.5).astype(np.uint8),cv2.DIST_L2,3)rim = np.exp(-distance_inside/max(1,unit*.004))pigment = np.zeros_like(base)pigment[:] = (5,8,10)pigment += (fine_noise*1.5 + coarse_noise*9)[...,None]pigment += rim[...,None]*np.array([4,5,8],np.float32)for cx,cy,rx,ry in [(.132,.678,.058,.019),(.409,.664,.021,.044),(.796,.756,.045,.020)]:volume = np.exp(-(((xx/w-cx)/rx)**2+((yy/h-cy)/ry)**2)*1.6)pigment += volume[...,None]*np.array([3,4,6],np.float32)pigment = np.clip(pigment,1,29)base = base*(1-alpha[...,None]) + pigment*alpha[...,None]details = Image.new('L',(sw,sh),0)dd = ImageDraw.Draw(details)for lines in [[(.264,.679,.292,.675),(.262,.684,.289,.688)],[(.350,.606,.326,.602),(.351,.610,.326,.614)],[(.710,.749,.683,.744),(.711,.754,.685,.758)]]:for x1,y1,x2,y2 in lines:dd.line([(round(x1*sw),round(y1*sh)),(round(x2*sw),round(y2*sh))],fill=135,width=max(1,round(unit*scale*.00085)))whiskers = np.asarray(details.resize((w,h),Image.Resampling.LANCZOS),np.float32)/255whiskers = cv2.GaussianBlur(whiskers,(0,0),max(.25,unit*.00055))*.65base = base*(1-whiskers[...,None]) + np.array([12,17,23],np.float32)*whiskers[...,None]return Image.fromarray(np.clip(base,0,255).astype(np.uint8), 'RGB')</pre></details></article><article class="card"><h3>新合格样本:Add a neatly coiled red life jacket secured on the front seat inside the aluminum canoe in the foreground bottom-right. Keep the canoe’s structure, all text labels, the lake, dock, mist, trees, lighting, colors, perspective, and all other objects unchanged.</h3><p class="muted">maskedit_scene · GPT-5.5 · RFT · 完整目标区域 judge 通过</p><div class="images triple"><figure><img src="assets/growth_98a07b559a01_source.jpg"><figcaption>原图</figcaption></figure><figure><img src="assets/growth_98a07b559a01_edited.jpg"><figcaption>单次 teacher 代码执行</figcaption></figure><figure><img src="assets/growth_98a07b559a01_target.jpg"><figcaption>数据集目标</figcaption></figure></div><details><summary>完整 teacher 计划与代码</summary><pre>{"visual_evidence": ["The image shows aluminum canoes in the foreground on a lake.","The foreground bottom-right canoe has visible interior seats and gunwales.","The scene includes lake water, dock, mist, trees, and canoe number/text labels.","There is open space on the front seat/interior area of the foreground canoe suitable for adding an object."],"target_object": "a neatly coiled red life jacket","target_region": "the front seat area inside the aluminum canoe in the foreground bottom-right","editing_intent": "Add a red life jacket resting securely on the canoe seat while preserving the canoe and the rest of the scene.","editing_plan": ["Load the image and convert it to RGB.","Compute the placement using relative image dimensions so the edit scales with the image.","Create a transparent overlay for the new life jacket and its soft cast shadow.","Draw a perspective-aligned, coiled life jacket using layered red elliptical and curved shapes, darker seams, black straps, and highlights.","Feather the alpha mask edges and add slight local noise so the object blends with the photographic grain.","Composite the overlay onto the original image without modifying any surrounding labels, lake, dock, mist, trees, or canoe structure."],"preservation_constraints": ["Do not alter canoe number labels or M-NCPPC text.","Do not change the lake, dock, mist, trees, lighting, color balance, or perspective.","Do not remove or reshape any existing canoe parts.","Keep all other visible objects unchanged."]}def edit(image):from PIL import Image, ImageDraw, ImageFilterimport numpy as np, math, randomimg = image.convert('RGB')w, h = img.size# Placement: front/interior seat of the foreground bottom-right canoe.cx = int(w * 0.735)cy = int(h * 0.775)obj_w = max(42, int(w * 0.155))obj_h = max(24, int(h * 0.075))angle = -10.0# Work at full image size on transparent layers.overlay = Image.new('RGBA', (w, h), (0, 0, 0, 0))shadow = Image.new('RGBA', (w, h), (0, 0, 0, 0))# Draw in a local canvas, then rotate for perspective alignment with canoe.pad = int(max(obj_w, obj_h) * 0.45)lw, lh = obj_w + 2 * pad, obj_h + 2 * padlocal = Image.new('RGBA', (lw, lh), (0, 0, 0, 0))d = ImageDraw.Draw(local, 'RGBA')ox, oy = pad, pad# Soft underside/contact shadow inside local object footprint.sd = ImageDraw.Draw(shadow, 'RGBA')shadow_bbox = [cx - obj_w//2, cy + obj_h//7, cx + obj_w//2, cy + obj_h//2]sd.ellipse(shadow_bbox, fill=(0, 0, 0, 75))shadow = shadow.filter(ImageFilter.GaussianBlur(radius=max(2, int(w * 0.008))))# Life jacket body: folded/coiled ring-like red flotation vest.# Main red cushions.red = (188, 24, 20, 255)red_dark = (113, 15, 16, 255)red_mid = (159, 22, 20, 255)red_hi = (238, 76, 60, 180)# Outer rounded cushion body made from overlapping lobes.d.ellipse([ox + obj_w*0.02, oy + obj_h*0.05, ox + obj_w*0.62, oy + obj_h*0.95], fill=red, outline=red_dark, width=max(1, int(w*0.003)))d.ellipse([ox + obj_w*0.38, oy + obj_h*0.02, ox + obj_w*0.98, oy + obj_h*0.92], fill=red, outline=red_dark, width=max(1, int(w*0.003)))d.rounded_rectangle([ox + obj_w*0.17, oy + obj_h*0.10, ox + obj_w*0.84, oy + obj_h*0.88], radius=int(obj_h*0.33), fill=red_mid)# Central opening/coil depression showing it is a folded life jacket.inner = [ox + obj_w*0.34, oy + obj_h*0.27, ox + obj_w*0.66, oy + obj_h*0.73]d.ellipse(inner, fill=(58, 36, 31, 190), outline=(95, 20, 18, 230), width=max(1, int(w*0.002)))d.ellipse([inner[0]+obj_w*0.045, inner[1]+obj_h*0.07, inner[2]-obj_w*0.045, inner[3]-obj_h*0.07], fill=(123, 17, 16, 220))# Curved seam arcs suggesting neatly coiled/folded panels.seam_w = max(1, int(w * 0.003))for off, alpha in [(0.00, 170), (0.09, 130), (-0.09, 130)]:box = [ox + obj_w*(0.18+off), oy + obj_h*0.16, ox + obj_w*(0.82+off), oy + obj_h*0.86]d.arc(box, start=205, end=338, fill=(88, 10, 12, alpha), width=seam_w)d.line([(ox + obj_w*0.50, oy + obj_h*0.11), (ox + obj_w*0.50, oy + obj_h*0.88)], fill=(105, 13, 14, 150), width=seam_w)# Black securing straps and small buckles.strap = (25, 22, 20, 230)d.rounded_rectangle([ox + obj_w*0.14, oy + obj_h*0.42, ox + obj_w*0.86, oy + obj_h*0.52], radius=max(1, int(obj_h*0.05)), fill=strap)d.rounded_rectangle([ox + obj_w*0.42, oy + obj_h*0.18, ox + obj_w*0.50, oy + obj_h*0.82], radius=max(1, int(obj_w*0.015)), fill=(20, 19, 18, 205))d.rectangle([ox + obj_w*0.70, oy + obj_h*0.39, ox + obj_w*0.80, oy + obj_h*0.55], outline=(210, 205, 190, 210), width=max(1, int(w*0.002)))# Highlights from warm upper-left light.d.arc([ox + obj_w*0.07, oy + obj_h*0.08, ox + obj_w*0.58, oy + obj_h*0.70], 205, 300, fill=red_hi, width=max(1, int(w*0.004)))d.arc([ox + obj_w*0.40, oy + obj_h*0.05, ox + obj_w*0.95, oy + obj_h*0.72], 205, 292, fill=(255, 95, 73, 145), width=max(1, int(w*0.003)))d.line([(ox + obj_w*0.23, oy + obj_h*0.22), (ox + obj_w*0.38, oy + obj_h*0.17)], fill=(255, 117, 92, 110), width=max(1, int(w*0.002)))# Slightly feather the object edge.alpha = local.getchannel('A').filter(ImageFilter.GaussianBlur(radius=0.6))local.putalpha(alpha)local = local.rotate(angle, resample=Image.Resampling.BICUBIC, expand=True)# Add subtle photographic noise only where object is visible.arr = np.array(local).astype(np.int16)a = arr[:, :, 3]rng = np.random.default_rng(4)noise = rng.normal(0, 3.0, arr[:, :, :3].shape)arr[:, :, :3] = np.clip(arr[:, :, :3] + noise * (a[:, :, None] > 0), 0, 255)local = Image.fromarray(arr.astype(np.uint8), 'RGBA')# Composite shadow and life jacket.base = Image.alpha_composite(img.convert('RGBA'), shadow)px = cx - local.size[0] // 2py = cy - local.size[1] // 2obj_layer = Image.new('RGBA', (w, h), (0, 0, 0, 0))obj_layer.alpha_composite(local, (px, py))out = Image.alpha_composite(base, obj_layer)return out.convert('RGB')</pre></details></article></main><script>setTimeout(()=>location.reload(),120000)</script></body></html>
123451228 unmodified lines123412351236123712381239124012411242124312441245124612471248124912502 unmodified lines12531254125512561257125812591260126112621 unmodified line12641265126612671268126912701271127212731274127512761277127812791280128112821 unmodified line12841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713082 unmodified lines13111312131313141315131613171318131913202 unmodified lines13231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501 unmodified line135213531354135513561357135813591360136113621363136413651366136713682 unmodified lines137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991 unmodified line140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514267 unmodified lines14341435143614371438143914401441144214431444144514461447144814491450145114521 unmodified line14541455145614571458145914601461146214631464643 unmodified lines21082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621473 unmodified lines2151215221532154215521562157215821599 unmodified lines216921702171217221732174217521762 unmodified lines217921802181218221832184218521862 unmodified lines2189219021912192219321942195219621972198219922002 unmodified lines220322042205220622072208220922102211663 unmodified lines28752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975{"updated": "2026-11-25 12:23:40 北京时间","sft": [{"name": "纯 RFT",1228 unmodified lines},"editing_growth": {"production": {"updated": "2026-11-25T12:23:39.086098+08:00","state": "running","pid": 2600936,"night_parallelism": false,"task_pool": 9101,"datasets": {"magicbrush": 1003,"ultraedit": 3029,"sciforma": 283,"anyedit": 2191,"maskedit_scene": 619,"maskedit_en": 673,"instructpix2pix": 1303},2 unmodified lines"mode": "rft","teacher": "gpt55","concurrency": 8,"running_or_waiting_api": 5,"pending": 508,"completed": 3185,"qualified": 650,"retryable_errors": 0},{1 unmodified line"teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 4,"pending": 1761,"completed": 5495,"qualified": 2292,"retryable_errors": 963},{"mode": "rft","teacher": "terra","concurrency": 2,"running_or_waiting_api": 2,"pending": 150,"completed": 766,"qualified": 202,"retryable_errors": 0},{1 unmodified line"teacher": "luna","concurrency": 2,"running_or_waiting_api": 2,"pending": 145,"completed": 758,"qualified": 191,"retryable_errors": 0},{"mode": "ti","teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 4,"pending": 318,"completed": 2883,"qualified": 293,"retryable_errors": 314}],"accepted_trajectories": 3628,"accepted_unique_tasks": 3628,"fully_processed_tasks": 6220,"language_policy": "english_only","ti_selection": "failure_rescue","teacher_models": null,2 unmodified lines},"ingestion": {"phase": "downloading_training_shard","dataset": "magicbrush","file": "data/train-00003-of-00051-dbbf01b8d4790783.parquet","counts": {"anyedit": 2426,"maskedit_scene": 672,"maskedit_en": 698,"maskedit_cn": 523,2 unmodified lines}},"new_dataset_tasks": {"anyedit": 2426,"maskedit_scene": 672,"maskedit_en": 698,"maskedit_cn": 523,"ultraedit": 1120,"instructpix2pix": 1451},"sft": {"rows": 3624,"source_groups": 3312,"datasets": {"ultraedit": 1099,"magicbrush": 234,"sciforma": 191,"maskedit_scene": 416,"maskedit_en": 403,"instructpix2pix": 631,"anyedit": 650},"modes": {"rft": 3331,"ti": 293},"source": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/judged.jsonl","frozen_existing_sft_unchanged": true,1 unmodified line"ti_selection": "failure_rescue"},"independent_ti": {"updated": "2026-11-25T12:23:38.125042+08:00","state": "running","pid": 2600935,"night_parallelism": false,"task_pool": 9101,"datasets": {"magicbrush": 1003,"ultraedit": 3029,"sciforma": 283,"anyedit": 2191,"maskedit_scene": 619,"maskedit_en": 673,"instructpix2pix": 1303},2 unmodified lines"mode": "ti","teacher": "gpt55","concurrency": 8,"running_or_waiting_api": 7,"pending": 172,"completed": 2722,"qualified": 312,"retryable_errors": 0},{"mode": "ti","teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 4,"pending": 2369,"completed": 1744,"qualified": 218,"retryable_errors": 2061},{"mode": "ti","teacher": "terra","concurrency": 2,"running_or_waiting_api": 2,"pending": 2142,"completed": 905,"qualified": 59,"retryable_errors": 1803},1 unmodified line"mode": "ti","teacher": "luna","concurrency": 2,"running_or_waiting_api": 2,"pending": 1622,"completed": 850,"qualified": 53,"retryable_errors": 1303},{"mode": "ti","teacher": "gpt62","concurrency": 4,"running_or_waiting_api": 4,"pending": 555,"completed": 3567,"qualified": 888,"retryable_errors": 7}],"accepted_trajectories": 1530,"accepted_unique_tasks": 1530,"fully_processed_tasks": 2241,"language_policy": "english_only","ti_selection": "independent_enrichment","teacher_models": [7 unmodified lines"sft_manifest": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/ti_balanced_en_v1/sft/manifest.json"},"independent_ti_sft": {"rows": 1524,"source_groups": 1383,"datasets": {"instructpix2pix": 204,"maskedit_scene": 243,"maskedit_en": 246,"anyedit": 240,"ultraedit": 377,"magicbrush": 119,"sciforma": 95},"modes": {"ti": 1524},"source": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/ti_balanced_en_v1/judged.jsonl","frozen_existing_sft_unchanged": true,1 unmodified line"ti_selection": "independent_enrichment"},"english_sft_rows": {"rft": 13338,"ti": 5354,"total": 18692},"english_unique_tasks": 12782},"gpt61_rgb_smoke": {"model": "traex/GPT-6.1-Sol",643 unmodified lines"confidence_interval_method": "paired nonparametric bootstrap, 5000 resamples, fixed seed"},"current_editing": {"updated": "2026-11-25T12:24:15.906186+08:00","inventory": {"row_policy": "accepted English exports; includes distinct teacher and augmentation rows","unique_tasks": 12794,"datasets": [{"dataset": "anyedit","rft": 937,"ti": 325,"total": 1262},{"dataset": "instructpix2pix","rft": 784,"ti": 244,"total": 1028},{"dataset": "magicbrush","rft": 5238,"ti": 3586,"total": 8824},{"dataset": "maskedit_en","rft": 492,"ti": 284,"total": 776},{"dataset": "maskedit_scene","rft": 462,"ti": 266,"total": 728},{"dataset": "sciforma",3 unmodified lines},{"dataset": "ultraedit","rft": 3539,"ti": 543,"total": 4082}],"teachers": [9 unmodified lines},{"teacher": "gpt55","rft": 863,"ti": 1536},{"teacher": "gpt56sol",2 unmodified lines},{"teacher": "gpt61","rft": 5782,"ti": 692},{"teacher": "gpt62",2 unmodified lines},{"teacher": "luna","rft": 384,"ti": 312},{"teacher": "terra","rft": 666,"ti": 59},{2 unmodified lines"ti": 0}],"rft": 13343,"ti": 5361,"total": 18704},"rl": {"pre": {663 unmodified lines"paired_sft": [{"treatment": "ti00","step": 117,"supervised_tokens": 747725,"eval": {},"exposure": {"step": 117,"total_assistant_tokens": 747725,"method_tokens": {"rft": 747725},"ti_token_fraction": 0.0,"source_tokens": {"maskedit_scene": 126820,"anyedit": 100174,"maskedit_en": 136790,"magicbrush": 70086,"sciforma": 41980,"ultraedit": 150132,"instructpix2pix": 121743},"teacher_tokens": {"gpt61": 233766,"gpt62": 367668,"gpt55": 144889,"luna": 1402},"distinct_rows_seen": 234,"mean_visits_per_dataset_row": 0.9140625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti25","step": 114,"supervised_tokens": 740400,"eval": {},"exposure": {"step": 114,"total_assistant_tokens": 740400,"method_tokens": {"ti": 207826,"rft": 532574},"ti_token_fraction": 0.28069421934089683,"source_tokens": {"maskedit_scene": 125556,"anyedit": 101043,"maskedit_en": 128570,"magicbrush": 64952,"sciforma": 45083,"ultraedit": 151106,"instructpix2pix": 124090},"teacher_tokens": {"gpt61": 232082,"gpt62": 358693,"gpt55": 148117,"luna": 1508},"distinct_rows_seen": 228,"mean_visits_per_dataset_row": 0.890625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti50","step": 112,"supervised_tokens": 745467,"eval": {},"exposure": {"step": 112,"total_assistant_tokens": 745467,"method_tokens": {"ti": 405713,"rft": 339754},"ti_token_fraction": 0.5442400535503248,"source_tokens": {"maskedit_scene": 116769,"anyedit": 103444,"maskedit_en": 134265,"magicbrush": 67284,"sciforma": 46362,"ultraedit": 151754,"instructpix2pix": 125589},"teacher_tokens": {"gpt61": 225214,"gpt62": 369337,"gpt55": 149408,"luna": 1508},"distinct_rows_seen": 224,"mean_visits_per_dataset_row": 0.875,"actual_counter_matches": true,"assistant_token_budget": 1000000}123451228 unmodified lines123412351236123712381239124012411242124312441245124612471248124912502 unmodified lines12531254125512561257125812591260126112621 unmodified line12641265126612671268126912701271127212731274127512761277127812791280128112821 unmodified line12841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713082 unmodified lines13111312131313141315131613171318131913202 unmodified lines13231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501 unmodified line135213531354135513561357135813591360136113621363136413651366136713682 unmodified lines137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991 unmodified line140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514267 unmodified lines14341435143614371438143914401441144214431444144514461447144814491450145114521 unmodified line14541455145614571458145914601461146214631464643 unmodified lines21082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621473 unmodified lines2151215221532154215521562157215821599 unmodified lines216921702171217221732174217521762 unmodified lines217921802181218221832184218521862 unmodified lines2189219021912192219321942195219621972198219922002 unmodified lines220322042205220622072208220922102211663 unmodified lines28752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975{"updated": "2026-11-25 12:28:49 北京时间","sft": [{"name": "纯 RFT",1228 unmodified lines},"editing_growth": {"production": {"updated": "2026-11-25T12:28:37.336539+08:00","state": "running","pid": 2600936,"night_parallelism": false,"task_pool": 9398,"datasets": {"magicbrush": 1003,"ultraedit": 3029,"sciforma": 283,"anyedit": 2420,"maskedit_scene": 687,"maskedit_en": 673,"instructpix2pix": 1303},2 unmodified lines"mode": "rft","teacher": "gpt55","concurrency": 8,"running_or_waiting_api": 1,"pending": 590,"completed": 3219,"qualified": 658,"retryable_errors": 0},{1 unmodified line"teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 4,"pending": 1903,"completed": 5500,"qualified": 2296,"retryable_errors": 963},{"mode": "rft","teacher": "terra","concurrency": 2,"running_or_waiting_api": 0,"pending": 175,"completed": 772,"qualified": 205,"retryable_errors": 0},{1 unmodified line"teacher": "luna","concurrency": 2,"running_or_waiting_api": 2,"pending": 175,"completed": 761,"qualified": 193,"retryable_errors": 0},{"mode": "ti","teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 2,"pending": 315,"completed": 2889,"qualified": 294,"retryable_errors": 311}],"accepted_trajectories": 3646,"accepted_unique_tasks": 3646,"fully_processed_tasks": 6243,"language_policy": "english_only","ti_selection": "failure_rescue","teacher_models": null,2 unmodified lines},"ingestion": {"phase": "downloading_training_shard","dataset": "maskedit_scene","file": "data/scene/train-00007-of-00051.parquet","counts": {"anyedit": 2682,"maskedit_scene": 672,"maskedit_en": 698,"maskedit_cn": 523,2 unmodified lines}},"new_dataset_tasks": {"anyedit": 2682,"maskedit_scene": 768,"maskedit_en": 698,"maskedit_cn": 523,"ultraedit": 1120,"instructpix2pix": 1451},"sft": {"rows": 3646,"source_groups": 3333,"datasets": {"ultraedit": 1103,"magicbrush": 235,"sciforma": 191,"maskedit_scene": 418,"maskedit_en": 404,"instructpix2pix": 644,"anyedit": 651},"modes": {"rft": 3352,"ti": 294},"source": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/judged.jsonl","frozen_existing_sft_unchanged": true,1 unmodified line"ti_selection": "failure_rescue"},"independent_ti": {"updated": "2026-11-25T12:28:37.331544+08:00","state": "running","pid": 2600935,"night_parallelism": false,"task_pool": 9397,"datasets": {"magicbrush": 1003,"ultraedit": 3029,"sciforma": 283,"anyedit": 2420,"maskedit_scene": 686,"maskedit_en": 673,"instructpix2pix": 1303},2 unmodified lines"mode": "ti","teacher": "gpt55","concurrency": 8,"running_or_waiting_api": 0,"pending": 204,"completed": 2758,"qualified": 317,"retryable_errors": 0},{"mode": "ti","teacher": "gpt61","concurrency": 4,"running_or_waiting_api": 3,"pending": 2429,"completed": 1749,"qualified": 220,"retryable_errors": 2060},{"mode": "ti","teacher": "terra","concurrency": 2,"running_or_waiting_api": 2,"pending": 2200,"completed": 908,"qualified": 59,"retryable_errors": 1803},1 unmodified line"mode": "ti","teacher": "luna","concurrency": 2,"running_or_waiting_api": 1,"pending": 1662,"completed": 855,"qualified": 55,"retryable_errors": 1303},{"mode": "ti","teacher": "gpt62","concurrency": 4,"running_or_waiting_api": 3,"pending": 654,"completed": 3567,"qualified": 888,"retryable_errors": 9}],"accepted_trajectories": 1539,"accepted_unique_tasks": 1539,"fully_processed_tasks": 2250,"language_policy": "english_only","ti_selection": "independent_enrichment","teacher_models": [7 unmodified lines"sft_manifest": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/ti_balanced_en_v1/sft/manifest.json"},"independent_ti_sft": {"rows": 1539,"source_groups": 1398,"datasets": {"instructpix2pix": 214,"maskedit_scene": 245,"maskedit_en": 247,"anyedit": 240,"ultraedit": 379,"magicbrush": 119,"sciforma": 95},"modes": {"ti": 1539},"source": "/mnt/bn/embodied-lf3/masiyuan/qwen_pixel/data/editing_growth_v1/ti_balanced_en_v1/judged.jsonl","frozen_existing_sft_unchanged": true,1 unmodified line"ti_selection": "independent_enrichment"},"english_sft_rows": {"rft": 13359,"ti": 5370,"total": 18729},"english_unique_tasks": 12817},"gpt61_rgb_smoke": {"model": "traex/GPT-6.1-Sol",643 unmodified lines"confidence_interval_method": "paired nonparametric bootstrap, 5000 resamples, fixed seed"},"current_editing": {"updated": "2026-11-25T12:29:14.864254+08:00","inventory": {"row_policy": "accepted English exports; includes distinct teacher and augmentation rows","unique_tasks": 12817,"datasets": [{"dataset": "anyedit","rft": 938,"ti": 325,"total": 1263},{"dataset": "instructpix2pix","rft": 793,"ti": 249,"total": 1042},{"dataset": "magicbrush","rft": 5238,"ti": 3587,"total": 8825},{"dataset": "maskedit_en","rft": 492,"ti": 285,"total": 777},{"dataset": "maskedit_scene","rft": 464,"ti": 268,"total": 732},{"dataset": "sciforma",3 unmodified lines},{"dataset": "ultraedit","rft": 3543,"ti": 543,"total": 4086}],"teachers": [9 unmodified lines},{"teacher": "gpt55","rft": 871,"ti": 1540},{"teacher": "gpt56sol",2 unmodified lines},{"teacher": "gpt61","rft": 5785,"ti": 695},{"teacher": "gpt62",2 unmodified lines},{"teacher": "luna","rft": 386,"ti": 314},{"teacher": "terra","rft": 669,"ti": 59},{2 unmodified lines"ti": 0}],"rft": 13359,"ti": 5370,"total": 18729},"rl": {"pre": {663 unmodified lines"paired_sft": [{"treatment": "ti00","step": 133,"supervised_tokens": 850233,"eval": {},"exposure": {"step": 133,"total_assistant_tokens": 850233,"method_tokens": {"rft": 850233},"ti_token_fraction": 0.0,"source_tokens": {"maskedit_scene": 142296,"anyedit": 115141,"maskedit_en": 166193,"magicbrush": 76556,"sciforma": 45166,"ultraedit": 179346,"instructpix2pix": 125535},"teacher_tokens": {"gpt61": 271495,"gpt62": 421334,"gpt55": 156002,"luna": 1402},"distinct_rows_seen": 256,"mean_visits_per_dataset_row": 1.0390625,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti25","step": 129,"supervised_tokens": 846340,"eval": {},"exposure": {"step": 129,"total_assistant_tokens": 846340,"method_tokens": {"ti": 241674,"rft": 604666},"ti_token_fraction": 0.28555190585343954,"source_tokens": {"maskedit_scene": 139328,"anyedit": 116122,"maskedit_en": 165088,"magicbrush": 75441,"sciforma": 46676,"ultraedit": 170038,"instructpix2pix": 133647},"teacher_tokens": {"gpt61": 262630,"gpt62": 428700,"gpt55": 153502,"luna": 1508},"distinct_rows_seen": 256,"mean_visits_per_dataset_row": 1.0078125,"actual_counter_matches": true,"assistant_token_budget": 1000000}},{"treatment": "ti50","step": 127,"supervised_tokens": 855166,"eval": {},"exposure": {"step": 127,"total_assistant_tokens": 855166,"method_tokens": {"ti": 453897,"rft": 401269},"ti_token_fraction": 0.5307706340055615,"source_tokens": {"maskedit_scene": 137759,"anyedit": 112926,"maskedit_en": 175397,"magicbrush": 77773,"sciforma": 47955,"ultraedit": 170686,"instructpix2pix": 132670},"teacher_tokens": {"gpt61": 264437,"gpt62": 434024,"gpt55": 155197,"luna": 1508},"distinct_rows_seen": 254,"mean_visits_per_dataset_row": 0.9921875,"actual_counter_matches": true,"assistant_token_budget": 1000000}
123456<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>GPT-6.1 RGB增益配对验证</title><style>:root{color-scheme:dark;--bg:#0b1020;--panel:#141d32;--text:#e9eef8;--muted:#9caec9;--line:#293651;--accent:#70e0c1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:1160px;margin:auto;padding:32px 22px}h1{font-size:40px;line-height:1.2;margin:10px 0}h2{font-size:23px}h3{font-size:18px}.muted{color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;margin:15px 0}.big{font-size:48px;color:var(--accent);font-weight:700;line-height:1.2}.pill{background:#193c38;color:#9bf0d6;border-radius:30px;padding:5px 12px;font-size:12px}.bar{height:7px;background:#29364e;border-radius:6px;overflow:hidden;margin-top:12px}.bar i{display:block;height:100%;background:var(--accent)}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}.scroll{overflow:auto}canvas{width:100%;height:240px;background:#10182b;border-radius:12px}.images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.triple{grid-template-columns:repeat(3,1fr)}figure{margin:0}img{width:100%;display:block;border-radius:10px;object-fit:contain;background:#080d17}figcaption{text-align:center;color:var(--muted);font-size:13px;padding:8px}pre{white-space:pre-wrap;word-break:break-word;max-height:480px;overflow:auto;background:#0b1222;padding:18px;border-radius:10px;font:12px/1.6 ui-monospace,monospace}summary{cursor:pointer;color:var(--accent)}.notice{border-left:3px solid var(--accent);padding-left:16px}.links a{color:var(--accent)}@media(max-width:700px){h1{font-size:30px}.grid{grid-template-columns:1fr}.card{padding:16px}.triple{grid-template-columns:1fr}.big{font-size:40px}}.rgb-images{grid-template-columns:repeat(5,1fr)}a{color:var(--accent)}@media(max-width:700px){.rgb-images{grid-template-columns:1fr 1fr}} .gain64-images{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.gain64-images{grid-template-columns:1fr 1fr}}</style></head><body><main><h1>GPT-6.1:额外输入RGB有没有增益?</h1><p class="muted">2026-11-25 12:23:40 北京时间 · <a href="index.html">返回SFT与teacher进度</a> · <button onclick="location.reload()">刷新</button></p><section class="card" id="rgb-gain64"><h2>扩大验证:64题 image-only 与 image+RGB 配对对照</h2><p>MagicBrush 16 · UltraEdit 16 · SciForma 16 · MaskEdit中英文信息图各8。留出集共64个原图分组;每题两次独立 one-shot,总128次生成,结果不进入SFT。8并发,high reasoning,8192输出预算,两组均使用相同128×128源像素。</p><div class="scroll"><table><thead><tr><th>Setting</th><th>完成</th><th>代码执行</th><th>图像judge通过 / 已评估</th><th>API失败 / judge待评</th><th>平均输入 / 输出tokens</th></tr></thead><tbody><tr><td>只给image</td><td>64/64</td><td>63</td><td>46/64</td><td>0/0</td><td>263 / 4,159</td></tr><tr><td>image + RGB</td><td>64/64</td><td>63</td><td>50/64</td><td>0/0</td><td>61,149 / 4,885</td></tr></tbody></table></div><p>完成有效配对 <b>64/64</b>。只有RGB组成功:<b>10</b>题;只有image组成功:<b>6</b>题。净差 +6.2 个百分点,配对精确检验 p=0.454。配对bootstrap 95%区间 [-6.2, +18.8] 个百分点。</p><p class="notice">已完成全部64对。 API失败独立统计;代码能执行不等于编辑成功。成功率使用自建VLM judge,输入原图、编辑结果与指令,检查是否完整修改目标对象;不提供数据集目标图。两组teacher生成也均不看目标图。这轮分辨率是128,尚不代表原生高分辨率效果。</p><h3>各数据集:只统计两组都完成的配对</h3><div class="scroll"><table><thead><tr><th>数据集</th><th>有效配对</th><th>image成功</th><th>image+RGB成功</th><th>净差(百分点)</th></tr></thead><tbody><tr><td>magicbrush</td><td>16</td><td>7</td><td>10</td><td>+18.8</td></tr><tr><td>maskedit_cn</td><td>8</td><td>7</td><td>7</td><td>+0.0</td></tr><tr><td>maskedit_en</td><td>8</td><td>8</td><td>6</td><td>-25.0</td></tr><tr><td>sciforma</td><td>16</td><td>11</td><td>14</td><td>+18.8</td></tr><tr><td>ultraedit</td><td>16</td><td>13</td><td>13</td><td>+0.0</td></tr></tbody></table></div><p class="muted">judge为GPT-5.5:要求指令≥4/5、保持≥4/5、质量≥3/5,且修改范围完整并≥4/5。输出token包含reasoning。代理未单独暴露图片token/图片费用,当前不推算金额,也不假设缓存折扣。</p><p><a href="rgb-gain64-summary.json">下载配对统计JSON</a></p><p class="muted">有输出自行放大的案例:保留模型原始输出和代码,judge将原图等比例放大后比较;辅助像素指标将结果缩回源尺寸。不将图片尺寸检查错误当成语义失败。</p><h3>全部验证题:原图 / image结果 / image+RGB结果 / 数据集目标</h3><p class="muted">按冻结任务顺序展示,失败同样保留。展开可看两组完整输出和judge理由;目标图仅供本地比较和展示。</p><details class="card"><summary>magicbrush · magicbrush_dev_524924_2 · image:成功 / image+RGB:成功</summary><p>change the pizza into a cake</p><div class="images gain64-images"><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_source.jpg"><figcaption>原图</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_image_only.jpg"><figcaption>image · 成功</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_image_rgb.jpg"><figcaption>image+RGB · 成功</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_target.jpg"><figcaption>数据集目标图(teacher未见)</figcaption></figure></div><details><summary>image 的judge理由与完整输出</summary><p>The visible pizza has been fully replaced with a rectangular frosted cake-like object, covering the full target area. The surrounding person, table, fruit, and other objects are essentially preserved. The result is visually coherent, though the cake surface is somewhat simple and flat.</p><pre>{"visual_evidence": "A person is preparing food at a counter. The pizza occupies the lower-right foreground, with a browned perimeter and colorful toppings. The person's hands, utensils, fruit, clothing, and blue background are outside the intended edit.","target_object": "The pizza in the lower-right foreground","target_region": "Approximately x=0.43–0.96 and y=0.74–1.00, following the pizza's angled footprint",123456<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>GPT-6.1 RGB增益配对验证</title><style>:root{color-scheme:dark;--bg:#0b1020;--panel:#141d32;--text:#e9eef8;--muted:#9caec9;--line:#293651;--accent:#70e0c1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:1160px;margin:auto;padding:32px 22px}h1{font-size:40px;line-height:1.2;margin:10px 0}h2{font-size:23px}h3{font-size:18px}.muted{color:var(--muted)}.eyebrow{color:var(--accent);letter-spacing:2px;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;margin:15px 0}.big{font-size:48px;color:var(--accent);font-weight:700;line-height:1.2}.pill{background:#193c38;color:#9bf0d6;border-radius:30px;padding:5px 12px;font-size:12px}.bar{height:7px;background:#29364e;border-radius:6px;overflow:hidden;margin-top:12px}.bar i{display:block;height:100%;background:var(--accent)}table{border-collapse:collapse;width:100%;font-size:14px}td,th{text-align:left;padding:13px 10px;border-bottom:1px solid var(--line)}.scroll{overflow:auto}canvas{width:100%;height:240px;background:#10182b;border-radius:12px}.images{display:grid;grid-template-columns:1fr 1fr;gap:12px}.triple{grid-template-columns:repeat(3,1fr)}figure{margin:0}img{width:100%;display:block;border-radius:10px;object-fit:contain;background:#080d17}figcaption{text-align:center;color:var(--muted);font-size:13px;padding:8px}pre{white-space:pre-wrap;word-break:break-word;max-height:480px;overflow:auto;background:#0b1222;padding:18px;border-radius:10px;font:12px/1.6 ui-monospace,monospace}summary{cursor:pointer;color:var(--accent)}.notice{border-left:3px solid var(--accent);padding-left:16px}.links a{color:var(--accent)}@media(max-width:700px){h1{font-size:30px}.grid{grid-template-columns:1fr}.card{padding:16px}.triple{grid-template-columns:1fr}.big{font-size:40px}}.rgb-images{grid-template-columns:repeat(5,1fr)}a{color:var(--accent)}@media(max-width:700px){.rgb-images{grid-template-columns:1fr 1fr}} .gain64-images{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.gain64-images{grid-template-columns:1fr 1fr}}</style></head><body><main><h1>GPT-6.1:额外输入RGB有没有增益?</h1><p class="muted">2026-11-25 12:28:49 北京时间 · <a href="index.html">返回SFT与teacher进度</a> · <button onclick="location.reload()">刷新</button></p><section class="card" id="rgb-gain64"><h2>扩大验证:64题 image-only 与 image+RGB 配对对照</h2><p>MagicBrush 16 · UltraEdit 16 · SciForma 16 · MaskEdit中英文信息图各8。留出集共64个原图分组;每题两次独立 one-shot,总128次生成,结果不进入SFT。8并发,high reasoning,8192输出预算,两组均使用相同128×128源像素。</p><div class="scroll"><table><thead><tr><th>Setting</th><th>完成</th><th>代码执行</th><th>图像judge通过 / 已评估</th><th>API失败 / judge待评</th><th>平均输入 / 输出tokens</th></tr></thead><tbody><tr><td>只给image</td><td>64/64</td><td>63</td><td>46/64</td><td>0/0</td><td>263 / 4,159</td></tr><tr><td>image + RGB</td><td>64/64</td><td>63</td><td>50/64</td><td>0/0</td><td>61,149 / 4,885</td></tr></tbody></table></div><p>完成有效配对 <b>64/64</b>。只有RGB组成功:<b>10</b>题;只有image组成功:<b>6</b>题。净差 +6.2 个百分点,配对精确检验 p=0.454。配对bootstrap 95%区间 [-6.2, +18.8] 个百分点。</p><p class="notice">已完成全部64对。 API失败独立统计;代码能执行不等于编辑成功。成功率使用自建VLM judge,输入原图、编辑结果与指令,检查是否完整修改目标对象;不提供数据集目标图。两组teacher生成也均不看目标图。这轮分辨率是128,尚不代表原生高分辨率效果。</p><h3>各数据集:只统计两组都完成的配对</h3><div class="scroll"><table><thead><tr><th>数据集</th><th>有效配对</th><th>image成功</th><th>image+RGB成功</th><th>净差(百分点)</th></tr></thead><tbody><tr><td>magicbrush</td><td>16</td><td>7</td><td>10</td><td>+18.8</td></tr><tr><td>maskedit_cn</td><td>8</td><td>7</td><td>7</td><td>+0.0</td></tr><tr><td>maskedit_en</td><td>8</td><td>8</td><td>6</td><td>-25.0</td></tr><tr><td>sciforma</td><td>16</td><td>11</td><td>14</td><td>+18.8</td></tr><tr><td>ultraedit</td><td>16</td><td>13</td><td>13</td><td>+0.0</td></tr></tbody></table></div><p class="muted">judge为GPT-5.5:要求指令≥4/5、保持≥4/5、质量≥3/5,且修改范围完整并≥4/5。输出token包含reasoning。代理未单独暴露图片token/图片费用,当前不推算金额,也不假设缓存折扣。</p><p><a href="rgb-gain64-summary.json">下载配对统计JSON</a></p><p class="muted">有输出自行放大的案例:保留模型原始输出和代码,judge将原图等比例放大后比较;辅助像素指标将结果缩回源尺寸。不将图片尺寸检查错误当成语义失败。</p><h3>全部验证题:原图 / image结果 / image+RGB结果 / 数据集目标</h3><p class="muted">按冻结任务顺序展示,失败同样保留。展开可看两组完整输出和judge理由;目标图仅供本地比较和展示。</p><details class="card"><summary>magicbrush · magicbrush_dev_524924_2 · image:成功 / image+RGB:成功</summary><p>change the pizza into a cake</p><div class="images gain64-images"><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_source.jpg"><figcaption>原图</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_image_only.jpg"><figcaption>image · 成功</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_image_rgb.jpg"><figcaption>image+RGB · 成功</figcaption></figure><figure><img loading="lazy" src="assets/gain64_magicbrush_dev_524924_2_target.jpg"><figcaption>数据集目标图(teacher未见)</figcaption></figure></div><details><summary>image 的judge理由与完整输出</summary><p>The visible pizza has been fully replaced with a rectangular frosted cake-like object, covering the full target area. The surrounding person, table, fruit, and other objects are essentially preserved. The result is visually coherent, though the cake surface is somewhat simple and flat.</p><pre>{"visual_evidence": "A person is preparing food at a counter. The pizza occupies the lower-right foreground, with a browned perimeter and colorful toppings. The person's hands, utensils, fruit, clothing, and blue background are outside the intended edit.","target_object": "The pizza in the lower-right foreground","target_region": "Approximately x=0.43–0.96 and y=0.74–1.00, following the pizza's angled footprint",
current-editing.json+81-81
editing-progress.html+465-470
index.html
progress.json+159-159
rgb-gain64.html+1-1