Document validated standalone Mobile-VTON CPU inference and 12-step default
Browse files- mobile-vton/v1-1024/README.md +18 -2
- mobile-vton/v1-1024/android-cancellation-tests.txt +37 -0
- mobile-vton/v1-1024/android-memory.json +119 -0
- mobile-vton/v1-1024/android-tests.txt +51 -0
- mobile-vton/v1-1024/android-validation.json +39 -0
- mobile-vton/v1-1024/comparison-12.json +126 -0
- mobile-vton/v1-1024/converter.zip +2 -2
- mobile-vton/v1-1024/unit-tests.json +16 -0
mobile-vton/v1-1024/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Mobile-VTON for ImageToolbox — local CPU inference
|
| 2 |
|
| 3 |
-
Native resolution: **768 × 1024**, batch 1,
|
| 4 |
|
| 5 |
This is a standalone 5,956,389,249-byte runtime package (36 files). It includes both Mobile-VTON and a local Qwen3.5-0.8B garment captioner. Installing ImageToolbox assistant models is not required. Weights are downloaded separately and are not bundled in the APK.
|
| 6 |
|
|
@@ -24,7 +24,23 @@ All eight Mobile-VTON graphs were exported and compared with their original PyTo
|
|
| 24 |
|
| 25 |
[comparison.json](comparison.json) contains full measurements and per-step errors; [manifest.json](manifest.json) contains exact sizes, SHA-256 and tensor contracts. These results cover the supplied test pair, not a general quality benchmark.
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Reproduction and Android integration
|
| 30 |
|
|
|
|
| 1 |
# Mobile-VTON for ImageToolbox — local CPU inference
|
| 2 |
|
| 3 |
+
Native resolution: **768 × 1024**, batch 1, **12 FlowMatch Euler steps by default**, guidance 2.5. The original 28-step setting remains available through `MobileVtonProcessor(steps = 28)`. No GPU, NNAPI, NPU, or cloud inference.
|
| 4 |
|
| 5 |
This is a standalone 5,956,389,249-byte runtime package (36 files). It includes both Mobile-VTON and a local Qwen3.5-0.8B garment captioner. Installing ImageToolbox assistant models is not required. Weights are downloaded separately and are not bundled in the APK.
|
| 6 |
|
|
|
|
| 24 |
|
| 25 |
[comparison.json](comparison.json) contains full measurements and per-step errors; [manifest.json](manifest.json) contains exact sizes, SHA-256 and tensor contracts. These results cover the supplied test pair, not a general quality benchmark.
|
| 26 |
|
| 27 |
+
The Kotlin API completed a full CPU run on an ARM64 Android API 36 emulator (4 cores, 8 GiB RAM), in airplane mode, with **only this package installed** and no assistant models:
|
| 28 |
+
|
| 29 |
+
- Native 768 × 1024 output, 28 steps, automatic local garment caption.
|
| 30 |
+
- Inference time including local captioning: 633.126 seconds.
|
| 31 |
+
- Maximum sampled process PSS: 5,004,893,184 bytes (4.66 GiB), sampled every 30 seconds; this is not an exact peak.
|
| 32 |
+
- All three Android checks passed: full inference, preprocessing against Pillow/BitImageProcessor, and active-operation cancellation without recycling caller Bitmaps.
|
| 33 |
+
- Eleven JVM scheduler/tokenizer checks passed. Two additional Android checks passed after fixing queued-operation cancellation and cancellation during SHA-256 verification; their source lived outside the Android repository.
|
| 34 |
+
|
| 35 |
+
See [android-validation.json](android-validation.json). Timing and memory describe an emulator on the test host, not a phone benchmark. Test source files were removed from the Android repository at the user's request after validation.
|
| 36 |
+
|
| 37 |
+
## CPU speed setting
|
| 38 |
+
|
| 39 |
+
The default was reduced to **12 steps without changing the native resolution** after comparison of 8, 12 and 28 steps on the same image pair, caption and initial noises. Twelve steps retained garment details more closely than eight in this example; this is a test-pair observation, not a dataset-wide quality guarantee.
|
| 40 |
+
|
| 41 |
+
The final published ONNX package completed a full 12-step CPU inference in **230.45 seconds**, including model loading, on the Mac ARM64 host with four threads. Comparison with the original PyTorch 12-step run passed: latent normalized RMSE 0.00111195, RGB MAE 0.00017632 and PSNR 62.09 dB. See [comparison-12.json](comparison-12.json). The separate Android emulator validation above used 28 steps; the 12-step timing is not an Android phone benchmark.
|
| 42 |
+
|
| 43 |
+
This remains a heavy CPU workload. The upstream paper's roughly 80-second mobile result uses a Hexagon NPU; see [deployment details](https://arxiv.org/html/2603.00947v1). This package uses CPU only.
|
| 44 |
|
| 45 |
## Reproduction and Android integration
|
| 46 |
|
mobile-vton/v1-1024/android-cancellation-tests.txt
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonCancellationTest
|
| 2 |
+
INSTRUMENTATION_STATUS: current=1
|
| 3 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 4 |
+
INSTRUMENTATION_STATUS: numtests=2
|
| 5 |
+
INSTRUMENTATION_STATUS: stream=
|
| 6 |
+
com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonCancellationTest:
|
| 7 |
+
INSTRUMENTATION_STATUS: test=coldModelValidationStopsInsideTheChecksumLoop
|
| 8 |
+
INSTRUMENTATION_STATUS_CODE: 1
|
| 9 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonCancellationTest
|
| 10 |
+
INSTRUMENTATION_STATUS: current=1
|
| 11 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 12 |
+
INSTRUMENTATION_STATUS: numtests=2
|
| 13 |
+
INSTRUMENTATION_STATUS: stream=.
|
| 14 |
+
INSTRUMENTATION_STATUS: test=coldModelValidationStopsInsideTheChecksumLoop
|
| 15 |
+
INSTRUMENTATION_STATUS_CODE: 0
|
| 16 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonCancellationTest
|
| 17 |
+
INSTRUMENTATION_STATUS: current=2
|
| 18 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 19 |
+
INSTRUMENTATION_STATUS: numtests=2
|
| 20 |
+
INSTRUMENTATION_STATUS: stream=
|
| 21 |
+
INSTRUMENTATION_STATUS: test=closeCancelsProcessingBeforeTheSharedLockIsReleased
|
| 22 |
+
INSTRUMENTATION_STATUS_CODE: 1
|
| 23 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonCancellationTest
|
| 24 |
+
INSTRUMENTATION_STATUS: current=2
|
| 25 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 26 |
+
INSTRUMENTATION_STATUS: numtests=2
|
| 27 |
+
INSTRUMENTATION_STATUS: stream=.
|
| 28 |
+
INSTRUMENTATION_STATUS: test=closeCancelsProcessingBeforeTheSharedLockIsReleased
|
| 29 |
+
INSTRUMENTATION_STATUS_CODE: 0
|
| 30 |
+
INSTRUMENTATION_RESULT: stream=
|
| 31 |
+
|
| 32 |
+
Time: 0.062
|
| 33 |
+
|
| 34 |
+
OK (2 tests)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
INSTRUMENTATION_CODE: -1
|
mobile-vton/v1-1024/android-memory.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"interval_seconds": 30,
|
| 3 |
+
"samples": [
|
| 4 |
+
{
|
| 5 |
+
"time": 1793758062.8344462,
|
| 6 |
+
"pss_kib": 4037442,
|
| 7 |
+
"rss_kib": 4014696,
|
| 8 |
+
"swap_pss_kib": 135298
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"time": 1793758092.95344,
|
| 12 |
+
"pss_kib": 3356936,
|
| 13 |
+
"rss_kib": 3273392,
|
| 14 |
+
"swap_pss_kib": 197281
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"time": 1793758123.121713,
|
| 18 |
+
"pss_kib": 3951299,
|
| 19 |
+
"rss_kib": 3867956,
|
| 20 |
+
"swap_pss_kib": 197181
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"time": 1793758153.269235,
|
| 24 |
+
"pss_kib": 3690303,
|
| 25 |
+
"rss_kib": 3606960,
|
| 26 |
+
"swap_pss_kib": 197181
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"time": 1793758183.3689542,
|
| 30 |
+
"pss_kib": 4071131,
|
| 31 |
+
"rss_kib": 3987796,
|
| 32 |
+
"swap_pss_kib": 197181
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"time": 1793758213.470001,
|
| 36 |
+
"pss_kib": 3481388,
|
| 37 |
+
"rss_kib": 3398064,
|
| 38 |
+
"swap_pss_kib": 197181
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"time": 1793758243.588993,
|
| 42 |
+
"pss_kib": 4828428,
|
| 43 |
+
"rss_kib": 4745112,
|
| 44 |
+
"swap_pss_kib": 197173
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"time": 1793758273.727562,
|
| 48 |
+
"pss_kib": 4037319,
|
| 49 |
+
"rss_kib": 3954000,
|
| 50 |
+
"swap_pss_kib": 197173
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"time": 1793758303.858602,
|
| 54 |
+
"pss_kib": 4887591,
|
| 55 |
+
"rss_kib": 4804276,
|
| 56 |
+
"swap_pss_kib": 197169
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"time": 1793758334.018193,
|
| 60 |
+
"pss_kib": 4887470,
|
| 61 |
+
"rss_kib": 4804092,
|
| 62 |
+
"swap_pss_kib": 197171
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"time": 1793758364.151021,
|
| 66 |
+
"pss_kib": 4887474,
|
| 67 |
+
"rss_kib": 4804096,
|
| 68 |
+
"swap_pss_kib": 197171
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"time": 1793758394.309973,
|
| 72 |
+
"pss_kib": 4887450,
|
| 73 |
+
"rss_kib": 4804092,
|
| 74 |
+
"swap_pss_kib": 197171
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"time": 1793758424.452459,
|
| 78 |
+
"pss_kib": 3991138,
|
| 79 |
+
"rss_kib": 3907784,
|
| 80 |
+
"swap_pss_kib": 197167
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"time": 1793758454.5572119,
|
| 84 |
+
"pss_kib": 4839016,
|
| 85 |
+
"rss_kib": 4755752,
|
| 86 |
+
"swap_pss_kib": 197091
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"time": 1793758484.709554,
|
| 90 |
+
"pss_kib": 3356715,
|
| 91 |
+
"rss_kib": 3273452,
|
| 92 |
+
"swap_pss_kib": 197091
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"time": 1793758514.864394,
|
| 96 |
+
"pss_kib": 4828254,
|
| 97 |
+
"rss_kib": 4744920,
|
| 98 |
+
"swap_pss_kib": 197091
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"time": 1793758545.045289,
|
| 102 |
+
"pss_kib": 4886978,
|
| 103 |
+
"rss_kib": 4803644,
|
| 104 |
+
"swap_pss_kib": 197091
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"time": 1793758575.232848,
|
| 108 |
+
"pss_kib": 4688516,
|
| 109 |
+
"rss_kib": 4605168,
|
| 110 |
+
"swap_pss_kib": 197091
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"time": 1793758605.445899,
|
| 114 |
+
"pss_kib": 4036871,
|
| 115 |
+
"rss_kib": 3953384,
|
| 116 |
+
"swap_pss_kib": 197093
|
| 117 |
+
}
|
| 118 |
+
]
|
| 119 |
+
}
|
mobile-vton/v1-1024/android-tests.txt
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 2 |
+
INSTRUMENTATION_STATUS: current=1
|
| 3 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 4 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 5 |
+
INSTRUMENTATION_STATUS: stream=
|
| 6 |
+
com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest:
|
| 7 |
+
INSTRUMENTATION_STATUS: test=processesTwoPhotosWithLocalCaptioningAndCpuInference
|
| 8 |
+
INSTRUMENTATION_STATUS_CODE: 1
|
| 9 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 10 |
+
INSTRUMENTATION_STATUS: current=1
|
| 11 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 12 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 13 |
+
INSTRUMENTATION_STATUS: stream=.
|
| 14 |
+
INSTRUMENTATION_STATUS: test=processesTwoPhotosWithLocalCaptioningAndCpuInference
|
| 15 |
+
INSTRUMENTATION_STATUS_CODE: 0
|
| 16 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 17 |
+
INSTRUMENTATION_STATUS: current=2
|
| 18 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 19 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 20 |
+
INSTRUMENTATION_STATUS: stream=
|
| 21 |
+
INSTRUMENTATION_STATUS: test=closingCancelsActiveProcessingAndKeepsInputsAlive
|
| 22 |
+
INSTRUMENTATION_STATUS_CODE: 1
|
| 23 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 24 |
+
INSTRUMENTATION_STATUS: current=2
|
| 25 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 26 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 27 |
+
INSTRUMENTATION_STATUS: stream=.
|
| 28 |
+
INSTRUMENTATION_STATUS: test=closingCancelsActiveProcessingAndKeepsInputsAlive
|
| 29 |
+
INSTRUMENTATION_STATUS_CODE: 0
|
| 30 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 31 |
+
INSTRUMENTATION_STATUS: current=3
|
| 32 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 33 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 34 |
+
INSTRUMENTATION_STATUS: stream=
|
| 35 |
+
INSTRUMENTATION_STATUS: test=preprocessingMatchesPillowAndBitImageProcessor
|
| 36 |
+
INSTRUMENTATION_STATUS_CODE: 1
|
| 37 |
+
INSTRUMENTATION_STATUS: class=com.t8rin.imagetoolbox.feature.ai_tools.data.MobileVtonTest
|
| 38 |
+
INSTRUMENTATION_STATUS: current=3
|
| 39 |
+
INSTRUMENTATION_STATUS: id=AndroidJUnitRunner
|
| 40 |
+
INSTRUMENTATION_STATUS: numtests=3
|
| 41 |
+
INSTRUMENTATION_STATUS: stream=.
|
| 42 |
+
INSTRUMENTATION_STATUS: test=preprocessingMatchesPillowAndBitImageProcessor
|
| 43 |
+
INSTRUMENTATION_STATUS_CODE: 0
|
| 44 |
+
INSTRUMENTATION_RESULT: stream=
|
| 45 |
+
|
| 46 |
+
Time: 645.901
|
| 47 |
+
|
| 48 |
+
OK (3 tests)
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
INSTRUMENTATION_CODE: -1
|
mobile-vton/v1-1024/android-validation.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"passed": true,
|
| 3 |
+
"tests": 3,
|
| 4 |
+
"resolution": [
|
| 5 |
+
768,
|
| 6 |
+
1024
|
| 7 |
+
],
|
| 8 |
+
"steps": 28,
|
| 9 |
+
"guidance_scale": 2.5,
|
| 10 |
+
"inference_elapsed_ms": 633126,
|
| 11 |
+
"total_test_seconds": 645.901,
|
| 12 |
+
"execution_provider": "CPU",
|
| 13 |
+
"abi": "arm64-v8a",
|
| 14 |
+
"android_api": 36,
|
| 15 |
+
"emulator_cores": 4,
|
| 16 |
+
"emulator_ram_mib": 8192,
|
| 17 |
+
"airplane_mode": true,
|
| 18 |
+
"installed_model_folders": [
|
| 19 |
+
"mobile-vton"
|
| 20 |
+
],
|
| 21 |
+
"assistant_models_installed": false,
|
| 22 |
+
"pss_sampling_interval_seconds": 30,
|
| 23 |
+
"sampled_max_pss_bytes": 5004893184,
|
| 24 |
+
"sampled_max_rss_bytes": 4919578624,
|
| 25 |
+
"samples": 19,
|
| 26 |
+
"memory_note": "Sampled process PSS/RSS, not an exact allocation peak. Emulator result, not a phone benchmark.",
|
| 27 |
+
"seed": 42,
|
| 28 |
+
"caption": "Generated internally by the bundled Qwen3.5-0.8B captioner.",
|
| 29 |
+
"test_sources": "Removed from the Android repository at the user request after validation.",
|
| 30 |
+
"additional_cancellation_tests": {
|
| 31 |
+
"passed": true,
|
| 32 |
+
"tests": 2,
|
| 33 |
+
"seconds": 0.062,
|
| 34 |
+
"checks": [
|
| 35 |
+
"close cancels operation waiting for shared mutex",
|
| 36 |
+
"cancellation stops cold SHA-256 verification inside the read loop"
|
| 37 |
+
]
|
| 38 |
+
}
|
| 39 |
+
}
|
mobile-vton/v1-1024/comparison-12.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"source_revision": "57410f20ac0e1703af795702e10473565feaa711",
|
| 3 |
+
"weights_revision": "0063147c171518b391fff5e44d04555c12370c35",
|
| 4 |
+
"provider": "CPUExecutionProvider",
|
| 5 |
+
"precision": "mixed",
|
| 6 |
+
"manifest_sha256": "16f8d7384f4d1a7195285443eab30a02ab200f3079f27968c8ce023812dea972",
|
| 7 |
+
"inputs": {
|
| 8 |
+
"person_sha256": "9b948383f55e572f4a6cfe3ef3a2d2f228f519560613c631237abb5c66a2f725",
|
| 9 |
+
"clothing_sha256": "eb462f22f2bf55ea434e8a9593b3a8205c6261cf6b0c6c5cba84e62290124d27",
|
| 10 |
+
"caption": "This is a stylish, short-sleeve wrap top made from soft velvet fabric in a rich blue hue. It features a deep V-neckline with a side tie detail for a flattering silhouette. The visible brand label on the back reads \"FASHION UNION\" in white text. The overall style is chic and versatile, suitable for both casual and semi-formal settings.",
|
| 11 |
+
"instruction": "Replace the upper body with is a stylish, short-sleeve wrap top made from soft velvet fabric in a rich blue hue. It features a deep V-neckline with a side tie detail for a flattering silhouette. The visible brand label on the back reads \"FASHION UNION\" in white text. The overall style is chic and versatile, suitable for both casual and semi-formal settings.",
|
| 12 |
+
"negative_prompt": "deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, mutated hands and fingers, disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, NSFW",
|
| 13 |
+
"seed": 42,
|
| 14 |
+
"height": 1024,
|
| 15 |
+
"width": 768,
|
| 16 |
+
"source_revision": "57410f20ac0e1703af795702e10473565feaa711",
|
| 17 |
+
"weights_revision": "0063147c171518b391fff5e44d04555c12370c35"
|
| 18 |
+
},
|
| 19 |
+
"torch": {
|
| 20 |
+
"backend": "torch",
|
| 21 |
+
"device": "cpu",
|
| 22 |
+
"precision": "float32",
|
| 23 |
+
"steps": 12,
|
| 24 |
+
"guidance_scale": 2.5,
|
| 25 |
+
"scheduler_shift": 3.0,
|
| 26 |
+
"height": 1024,
|
| 27 |
+
"width": 768,
|
| 28 |
+
"threads": 4,
|
| 29 |
+
"seconds": 73.62368212500587,
|
| 30 |
+
"text_encoder_2_override": null,
|
| 31 |
+
"peak_rss_bytes": 16401301504
|
| 32 |
+
},
|
| 33 |
+
"onnx": {
|
| 34 |
+
"backend": "onnx",
|
| 35 |
+
"device": "cpu",
|
| 36 |
+
"precision": "mixed",
|
| 37 |
+
"steps": 12,
|
| 38 |
+
"guidance_scale": 2.5,
|
| 39 |
+
"scheduler_shift": 3.0,
|
| 40 |
+
"height": 1024,
|
| 41 |
+
"width": 768,
|
| 42 |
+
"threads": 4,
|
| 43 |
+
"seconds": 230.45346045901533,
|
| 44 |
+
"text_encoder_2_override": null,
|
| 45 |
+
"peak_rss_bytes": 10032758784
|
| 46 |
+
},
|
| 47 |
+
"latents": {
|
| 48 |
+
"max_abs": 0.09961533546447754,
|
| 49 |
+
"rmse": 0.001511521358225153,
|
| 50 |
+
"normalized_rmse": 0.0011119467732223448
|
| 51 |
+
},
|
| 52 |
+
"pixels": {
|
| 53 |
+
"max_abs": 0.08347392082214355,
|
| 54 |
+
"rmse": 0.0007864609073072874,
|
| 55 |
+
"normalized_rmse": 0.00103127037687275,
|
| 56 |
+
"mean_abs": 0.00017631995433475822,
|
| 57 |
+
"psnr": 62.08645720048784
|
| 58 |
+
},
|
| 59 |
+
"per_step": [
|
| 60 |
+
{
|
| 61 |
+
"max_abs": 0.0013580918312072754,
|
| 62 |
+
"rmse": 4.6135513133328185e-05,
|
| 63 |
+
"normalized_rmse": 4.7434126054786116e-05
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"max_abs": 0.0030350089073181152,
|
| 67 |
+
"rmse": 0.00010528229739768589,
|
| 68 |
+
"normalized_rmse": 0.0001120277659430006
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"max_abs": 0.004045754671096802,
|
| 72 |
+
"rmse": 0.0001520469345910142,
|
| 73 |
+
"normalized_rmse": 0.00016786096565978102
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"max_abs": 0.005505502223968506,
|
| 77 |
+
"rmse": 0.0002050150130425469,
|
| 78 |
+
"normalized_rmse": 0.0002351238050523467
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"max_abs": 0.007839322090148926,
|
| 82 |
+
"rmse": 0.0002697233758004533,
|
| 83 |
+
"normalized_rmse": 0.0003208090056246678
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"max_abs": 0.01214742660522461,
|
| 87 |
+
"rmse": 0.0003492721830838217,
|
| 88 |
+
"normalized_rmse": 0.00042749040903768923
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"max_abs": 0.01970982551574707,
|
| 92 |
+
"rmse": 0.000451450554760853,
|
| 93 |
+
"normalized_rmse": 0.0005577735618394362
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"max_abs": 0.03201937675476074,
|
| 97 |
+
"rmse": 0.0006013896464361848,
|
| 98 |
+
"normalized_rmse": 0.0007224660900082211
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"max_abs": 0.04854825139045715,
|
| 102 |
+
"rmse": 0.0008184733625711119,
|
| 103 |
+
"normalized_rmse": 0.0009011581918795117
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"max_abs": 0.06518924236297607,
|
| 107 |
+
"rmse": 0.0010965856506932633,
|
| 108 |
+
"normalized_rmse": 0.0010269670245804943
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"max_abs": 0.09898793697357178,
|
| 112 |
+
"rmse": 0.001501399766591691,
|
| 113 |
+
"normalized_rmse": 0.0011136319645699373
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"max_abs": 0.09961533546447754,
|
| 117 |
+
"rmse": 0.001511521358225153,
|
| 118 |
+
"normalized_rmse": 0.0011119467732223448
|
| 119 |
+
}
|
| 120 |
+
],
|
| 121 |
+
"limits": {
|
| 122 |
+
"latent_normalized_rmse": 0.01,
|
| 123 |
+
"pixel_mean_abs": 0.01
|
| 124 |
+
},
|
| 125 |
+
"passed": true
|
| 126 |
+
}
|
mobile-vton/v1-1024/converter.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0be74878f69cb685cb3afb612fff5c1bf0788646f832950a75ca9b80341f66f
|
| 3 |
+
size 46722
|
mobile-vton/v1-1024/unit-tests.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "com.t8rin.neural_tools.tryon.MobileVtonTokenizerTest",
|
| 4 |
+
"tests": "6",
|
| 5 |
+
"failures": "0",
|
| 6 |
+
"errors": "0",
|
| 7 |
+
"skipped": "0"
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"name": "com.t8rin.neural_tools.tryon.MobileVtonSchedulerTest",
|
| 11 |
+
"tests": "5",
|
| 12 |
+
"failures": "0",
|
| 13 |
+
"errors": "0",
|
| 14 |
+
"skipped": "0"
|
| 15 |
+
}
|
| 16 |
+
]
|