@mcptoolshop/style-dataset-lab 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/README.es.md +99 -8
- package/README.fr.md +100 -9
- package/README.hi.md +102 -9
- package/README.it.md +99 -8
- package/README.ja.md +100 -9
- package/README.md +18 -0
- package/README.pt-BR.md +99 -8
- package/README.zh.md +100 -9
- package/bin/sdlab.js +10 -2
- package/lib/adapters/comfyui-runner.js +11 -15
- package/lib/batch-runs.js +62 -0
- package/lib/comfyui-output.js +70 -0
- package/lib/training-adapters.js +79 -0
- package/lib/training-packages.js +1 -14
- package/lib/training-profiles.js +10 -0
- package/package.json +20 -2
- package/scripts/batch-generate.js +56 -13
- package/scripts/generate.js +33 -21
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,46 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.1.0] - 2026-04-22
|
|
6
|
+
|
|
7
|
+
### Added — `--resume` for `generate` and `batch generate`
|
|
8
|
+
|
|
9
|
+
- **`sdlab generate --resume`** — skip subjects whose record JSON and output PNG are already on disk. Seeds remain stable: skipped slots still advance the seed counter so resumed runs are bit-identical to a fresh run that reaches the same point. Final summary now reports `(N errors, M resumed)`.
|
|
10
|
+
- **`sdlab batch generate --resume <batch_id>`** — re-runs only failed/missing slots in an existing batch, keeps the same `batch_id`, and inherits `mode_id`/`subject_id`/`theme`/`asset_ref` from the prior manifest. Surfaces "(C/T slots already complete)" in the header. Throws `BATCH_NOT_FOUND` for a bad id and `BATCH_NO_PROGRESS` for pre-checkpoint manifests that can't be partially resumed.
|
|
11
|
+
- **Manifest format:** `slots[].status` is now persisted (`'ok'` or `'error'`) so resume can distinguish failures from successes. Older manifests fall back to "selected_output truthy = success" for compatibility.
|
|
12
|
+
- New helpers: `buildCompletedSlotMap()`, `openBatchDirForResume()` in `lib/batch-runs.js`.
|
|
13
|
+
- 7 new tests in `tests/lib-pipeline/batch-resume.test.js`.
|
|
14
|
+
|
|
15
|
+
### Fixed — Deterministic SaveImage node selection (PB-003)
|
|
16
|
+
|
|
17
|
+
- **`lib/comfyui-output.js`** (new): `pickOutputImage(outputs, { preferNodeId })` selects the canonical SaveImage output deterministically. Previously, `comfyui-runner.js` and `generate.js` used `Object.values(outputs)` and broke on the first node with images — first-wins ordering depends on ComfyUI's execution scheduler, not the workflow graph.
|
|
18
|
+
- **Selection precedence:** explicit `preferNodeId` (from the workflow builder's `saveNodeId` or a brief's `expected_outputs.save_node_id`) → highest numeric node id (typical "final save" convention) → first iteration entry (only for non-numeric ids).
|
|
19
|
+
- `lib/adapters/comfyui-runner.js` and `scripts/generate.js` both updated to thread `saveNodeId` through to the picker.
|
|
20
|
+
- Run output records now include `comfy_node_id` so the chosen save node is auditable from the manifest.
|
|
21
|
+
- 9 new tests in `tests/lib-pipeline/comfyui-output.test.js`.
|
|
22
|
+
|
|
23
|
+
### Added — CI coverage reporting
|
|
24
|
+
|
|
25
|
+
- **`c8`** added as a `devDependency`; new `npm run coverage` script runs the full test suite under c8 with text + lcov + text-summary reporters (covering `lib/**/*.js`).
|
|
26
|
+
- **CI**: Node 22 matrix entry now runs `npm run coverage` and uploads `coverage/lcov.info` to Codecov via `codecov/codecov-action@v5` (`continue-on-error: true` so a Codecov outage never blocks the PR).
|
|
27
|
+
- **README**: CI and Codecov badges added beside the npm/license badges.
|
|
28
|
+
- **`.gitignore`**: `coverage/` and `.nyc_output/` excluded.
|
|
29
|
+
- Baseline coverage at this commit: **statements 40.6% / branches 70.7% / functions 54.0%** — meaningful coverage on `lib/snapshot.js`, `lib/split.js`, `lib/log.js`, `lib/args.js`, `lib/runtime-runs.js`; adapters and selection layers still uncovered (deferred to future passes).
|
|
30
|
+
|
|
31
|
+
### Fixed — Mobile nav on landing + handbook (SB-SDL-007)
|
|
32
|
+
|
|
33
|
+
- **`site/src/layouts/SiteLayout.astro`**: header was `hidden md:flex` for both the link nav and the npm/GitHub buttons, leaving phones with the brand mark and nothing else. Added a hamburger toggle (`md:hidden`) that opens a drawer containing all the same links plus npm/GitHub. Implemented as a `<details>`/`<summary>` so it works without any JavaScript or framework dependency.
|
|
34
|
+
- The desktop nav and the GitHub button still render unchanged at `md:` and up.
|
|
35
|
+
|
|
36
|
+
### Changed — Training adapter registry (DB-007)
|
|
37
|
+
|
|
38
|
+
- **`lib/training-adapters.js`** (new): explicit `ADAPTER_REGISTRY` with `loadAdapter()`, `listAdapters()`, `isRegisteredAdapter()`. Replaces the hand-maintained adapter list embedded in a `lib/training-packages.js` error string.
|
|
39
|
+
- **`lib/training-packages.js`**: dropped its private `loadAdapter()`; now imports from the registry. Unknown adapters throw `ADAPTER_NOT_REGISTERED` (input error, exit 1) with the available-adapter list always in sync. Registered-but-missing modules throw `ADAPTER_MODULE_LOAD_FAILED` (distinct from a typo).
|
|
40
|
+
- **`lib/training-profiles.js`**: `validateProfile()` now rejects profiles whose `adapter_targets[]` cite an unregistered adapter — surfaces typos at profile load time instead of at package-build time.
|
|
41
|
+
- 8 new tests in `tests/lib-pipeline/training-adapters.test.js`.
|
|
42
|
+
|
|
43
|
+
To add a new adapter (e.g. `kohya-lora`, `onedtrainer`): write `lib/adapters/<id>.js` exporting `buildPackage(opts)` and add a one-line entry to `ADAPTER_REGISTRY`. The error message, profile validation, and (eventually) CLI completion all pick it up automatically.
|
|
44
|
+
|
|
5
45
|
## [3.0.1] - 2026-04-21
|
|
6
46
|
|
|
7
47
|
### Fixed — Dogfood swarm health pass (Stage A: bugs & security)
|
package/README.es.md
CHANGED
|
@@ -8,14 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://www.npmjs.com/package/@mcptoolshop/style-dataset-lab"><img src="https://img.shields.io/npm/v/@mcptoolshop/style-dataset-lab" alt="npm"></a>
|
|
11
|
+
<a href="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml"><img src="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
12
|
+
<a href="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab"><img src="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab/branch/main/graph/badge.svg" alt="codecov"></a>
|
|
11
13
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
12
14
|
</p>
|
|
13
15
|
|
|
14
|
-
Escriba sus reglas visuales. Genere arte. Evalúe cada imagen según esas reglas.
|
|
16
|
+
Escriba sus reglas visuales. Genere arte. Evalúe cada imagen según esas reglas. Envíe los resultados como datos de entrenamiento versionados y auditables, y luego ponga los modelos entrenados en funcionamiento en flujos de trabajo de producción reales y retroalimente los mejores resultados a su corpus.
|
|
15
17
|
|
|
16
18
|
Style Dataset Lab conecta lo que ha escrito sobre su estilo artístico con el conjunto de datos con el que realmente entrena. Usted define una constitución: reglas de silueta, restricciones de paleta, lenguaje de materiales, cualquier cosa que sea importante para su proyecto. El proceso genera candidatos, los evalúa según esas reglas y empaqueta el trabajo aprobado en conjuntos de datos reproducibles donde cada registro explica por qué se incluyó.
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
Luego, el entorno de trabajo de producción toma el control: compile las instrucciones de generación a partir de la "verdad" del proyecto, ejecútelas a través de ComfyUI, evalúe los resultados, genere en masa hojas de expresión y paneles de entorno, seleccione los mejores resultados y reincorpórelos como nuevos candidatos. El ciclo se cierra: producir, seleccionar, revisar, fortalecer.
|
|
19
21
|
|
|
20
22
|
## El proceso
|
|
21
23
|
|
|
@@ -28,25 +30,37 @@ sdlab generate inputs/prompts/wave1.json --project my-project
|
|
|
28
30
|
sdlab curate <id> approved "Strong silhouette, correct faction palette"
|
|
29
31
|
|
|
30
32
|
# Bind approved work to constitution rules
|
|
31
|
-
sdlab bind
|
|
33
|
+
# (`sdlab bind` is a shorter alias for `canon-bind`)
|
|
34
|
+
sdlab canon-bind --project my-project
|
|
32
35
|
|
|
33
36
|
# Freeze a versioned dataset
|
|
34
37
|
sdlab snapshot create --project my-project
|
|
35
38
|
sdlab split build
|
|
36
39
|
sdlab export build
|
|
37
40
|
|
|
38
|
-
# Build a training package
|
|
41
|
+
# Build a training package
|
|
39
42
|
sdlab training-manifest create --profile character-style-lora
|
|
40
43
|
sdlab training-package build
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
# Compile a production brief and run it
|
|
46
|
+
sdlab brief compile --workflow character-portrait-set --subject kael_maren
|
|
47
|
+
sdlab run generate --brief brief_2026-04-16_001
|
|
48
|
+
|
|
49
|
+
# Critique, refine, batch-produce
|
|
50
|
+
sdlab critique --run run_2026-04-16_001
|
|
51
|
+
sdlab refine --run run_2026-04-16_001 --pick 001.png
|
|
52
|
+
sdlab batch generate --mode expression-sheet --subject kael_maren
|
|
53
|
+
|
|
54
|
+
# Select the best outputs and bring them back
|
|
55
|
+
sdlab select --run run_2026-04-16_001 --approve 001.png,003.png
|
|
56
|
+
sdlab reingest selected --selection selection_2026-04-16_001
|
|
43
57
|
```
|
|
44
58
|
|
|
45
|
-
Esa última instrucción es clave.
|
|
59
|
+
Esa última instrucción es clave. Los resultados seleccionados vuelven a pasar por el mismo proceso de revisión que todo lo demás. El corpus crece y las reglas se mantienen.
|
|
46
60
|
|
|
47
61
|
## Lo que produce
|
|
48
62
|
|
|
49
|
-
Siete artefactos
|
|
63
|
+
Siete artefactos de conjunto de datos y un entorno de trabajo de producción completo. Cada artefacto está vinculado a sus predecesores, por lo que puede rastrear cualquier registro de entrenamiento hasta la regla que lo aprobó.
|
|
50
64
|
|
|
51
65
|
| Artefacto. | Qué es. |
|
|
52
66
|
|----------|-----------|
|
|
@@ -58,6 +72,17 @@ Siete artefactos versionados y con sumas de verificación. Cada uno tiene un enl
|
|
|
58
72
|
| **Eval scorecard** | Resultado de aprobación/reprobación por tarea, según la evaluación de las salidas generadas. |
|
|
59
73
|
| **Implementation pack** | Ejemplos de indicaciones, fallos conocidos, pruebas de continuidad y guías para la inclusión. |
|
|
60
74
|
|
|
75
|
+
El entorno de trabajo de producción agrega:
|
|
76
|
+
|
|
77
|
+
| Superficie | Qué hace |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| **Compiled brief** | Generación determinista a partir de la instrucción del perfil de flujo de trabajo + la "verdad" del proyecto. |
|
|
80
|
+
| **Run** | Artefacto de ejecución congelado: instrucción + semillas + resultados de ComfyUI + manifiesto. |
|
|
81
|
+
| **Critique** | Evaluación estructurada y multidimensional de los resultados de la ejecución en comparación con el canon. |
|
|
82
|
+
| **Batch** | Producción coordinada de múltiples elementos (hojas de expresión, paneles de entorno, paquetes de siluetas). |
|
|
83
|
+
| **Selection** | Artefacto de decisión creativa: qué resultados se eligieron, por qué y de dónde provienen. |
|
|
84
|
+
| **Re-ingest** | Los resultados seleccionados se devuelven como registros de candidatos con un historial completo de generación. |
|
|
85
|
+
|
|
61
86
|
## Por qué existe
|
|
62
87
|
|
|
63
88
|
Los datos de entrenamiento son el activo más valioso en cualquier canal de IA visual. Pero la mayoría de los datos de entrenamiento son una carpeta de imágenes sin historial, sin rastro de evaluación y sin conexión con las reglas de estilo que se suponía que debían seguir.
|
|
@@ -94,6 +119,12 @@ projects/my-project/
|
|
|
94
119
|
splits/ Train/val/test partitions
|
|
95
120
|
exports/ Versioned export packages
|
|
96
121
|
training/ Profiles, manifests, packages, eval runs, implementations
|
|
122
|
+
workflows/ Workflow profiles + batch mode definitions
|
|
123
|
+
briefs/ Compiled generation briefs
|
|
124
|
+
runs/ Execution artifacts (brief + outputs + manifest)
|
|
125
|
+
batches/ Coordinated multi-slot productions
|
|
126
|
+
selections/ Chosen outputs with reasons and provenance
|
|
127
|
+
inbox/generated/ Re-ingested images awaiting review
|
|
97
128
|
```
|
|
98
129
|
|
|
99
130
|
## Propiedades de confianza
|
|
@@ -130,6 +161,66 @@ npm install -g @mcptoolshop/style-dataset-lab
|
|
|
130
161
|
|
|
131
162
|
Requiere Node.js 20+ y [ComfyUI](https://github.com/comfyanonymous/ComfyUI) en localhost:8188 para la generación.
|
|
132
163
|
|
|
164
|
+
### Pruébelo sin ComfyUI
|
|
165
|
+
|
|
166
|
+
Puede explorar toda la superficie de no generación (inspección, curación, instantánea, división, exportación) utilizando el proyecto Star Freight incluido, sin instalar ComfyUI ni descargar ningún peso de SDXL.
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Scaffold a fresh project (no ComfyUI needed)
|
|
170
|
+
sdlab init test --domain game-art
|
|
171
|
+
|
|
172
|
+
# Run the canonical health check (no ComfyUI needed)
|
|
173
|
+
sdlab project doctor --project test
|
|
174
|
+
|
|
175
|
+
# Dry-run a snapshot against the bundled Star Freight corpus
|
|
176
|
+
sdlab snapshot create --dry-run --project star-freight
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
`sdlab project doctor` valida cada configuración del proyecto (constitución, canales, rúbrica, terminología) e informa sobre la elegibilidad sin tocar la GPU. Cualquier comando que modifique el estado generado acepta `--dry-run` para previsualizar el efecto primero.
|
|
180
|
+
|
|
181
|
+
Si olvida `--project`, la CLI recurre al primer proyecto que encuentra en `projects/` e imprime una advertencia; use `--project` explícitamente para silenciarla.
|
|
182
|
+
|
|
183
|
+
### Reanudación de una ejecución interrumpida
|
|
184
|
+
|
|
185
|
+
Las largas ejecuciones de generación se pueden reanudar sin tener que volver a realizar el trabajo completado:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Skip subjects whose record + image are already on disk.
|
|
189
|
+
# Seeds are preserved — resumed runs are bit-identical to fresh ones.
|
|
190
|
+
sdlab generate inputs/prompts/wave1.json --project my-project --resume
|
|
191
|
+
|
|
192
|
+
# Re-run only failed/missing slots in an existing batch.
|
|
193
|
+
# Inherits mode/subject/theme from the prior manifest.
|
|
194
|
+
sdlab batch generate --resume batch_2026-04-22_001 --project my-project
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Ambos comandos funcionan porque cada ranura escribe su entrada de manifiesto de forma atómica al finalizar; un fallo durante la ejecución nunca corrompe el estado parcial.
|
|
198
|
+
|
|
199
|
+
## Solución de problemas
|
|
200
|
+
|
|
201
|
+
Modos de fallo comunes y soluciones:
|
|
202
|
+
|
|
203
|
+
**`ECONNREFUSED 127.0.0.1:8188` en cualquier `sdlab generate` / `sdlab run generate` / `sdlab batch generate`**
|
|
204
|
+
ComfyUI no se está ejecutando. Inicie ComfyUI (`python main.py --listen 127.0.0.1 --port 8188`) y confirme con `curl http://127.0.0.1:8188/system_stats`. Para apuntar a un host/puerto diferente, establezca `COMFY_URL=http://host:port`.
|
|
205
|
+
|
|
206
|
+
**`missing checkpoint` / `LoRA weight not found`**
|
|
207
|
+
Su perfil de flujo de trabajo nombra un archivo de modelo que no está en la carpeta `models/checkpoints/` o `models/loras/` de ComfyUI. Abra `projects/<project>/workflows/profiles/<profile>.json`, localice el campo `checkpoint` o `lora` y, ya sea descargue el peso referenciado o reemplácelo por uno que ya tenga. Vuelva a ejecutar `sdlab project doctor --project <project>` para confirmar la solución.
|
|
208
|
+
|
|
209
|
+
**`sdlab project doctor` errores**
|
|
210
|
+
Doctor devuelve códigos de error estructurados. Algunos comunes:
|
|
211
|
+
- `E_PROJECT_NOT_FOUND` — el directorio del proyecto no existe en `projects/`. Verifique la ortografía.
|
|
212
|
+
- `E_CONFIG_INVALID` — uno de los cinco archivos de configuración JSON no pasó la validación del esquema. El campo `hint` indica el archivo y el campo incorrectos.
|
|
213
|
+
- `E_RECORD_DRIFT` — la huella digital de la configuración de un registro ya no coincide con su origen. Re-curate o re-asocie según lo sugerido en la pista.
|
|
214
|
+
|
|
215
|
+
**`No se especificó --project, se utiliza el valor predeterminado <name>`**
|
|
216
|
+
Una advertencia leve. Utilice `--project <name>` explícitamente para seleccionar el proyecto correcto y eliminar la advertencia.
|
|
217
|
+
|
|
218
|
+
**Problemas de memoria de VRAM relacionados con el estilo "painterly"**
|
|
219
|
+
Consulte el archivo `docs/internal/HANDOFF.md` para obtener información sobre la configuración del estilo "painterly". En resumen: reduzca la intensidad del desenfoque, disminuya el tamaño del lote o cambie a un modelo más pequeño en su perfil de trabajo.
|
|
220
|
+
|
|
221
|
+
**Informar de errores**
|
|
222
|
+
Registre un problema en https://github.com/mcp-tool-shop-org/style-dataset-lab/issues, incluyendo la versión de sdlab (`sdlab --version`), la versión de Node (`node -v`), el comando completo y la salida de error estructurada. Una plantilla para la presentación de informes de errores precompleta los campos.
|
|
223
|
+
|
|
133
224
|
## Seguridad
|
|
134
225
|
|
|
135
226
|
Solo funciona localmente. No hay telemetría, ni análisis, ni solicitudes externas. Las imágenes permanecen en tu GPU y sistema de archivos.
|
package/README.fr.md
CHANGED
|
@@ -8,14 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://www.npmjs.com/package/@mcptoolshop/style-dataset-lab"><img src="https://img.shields.io/npm/v/@mcptoolshop/style-dataset-lab" alt="npm"></a>
|
|
11
|
+
<a href="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml"><img src="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
12
|
+
<a href="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab"><img src="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab/branch/main/graph/badge.svg" alt="codecov"></a>
|
|
11
13
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
12
14
|
</p>
|
|
13
15
|
|
|
14
|
-
Définissez vos règles visuelles. Générez des
|
|
16
|
+
Définissez vos règles visuelles. Générez des images. Évaluez chaque image par rapport à ces règles. Envoyez les résultats sous forme de données d'entraînement versionnées et auditables, puis mettez les modèles entraînés en œuvre dans des flux de travail de production réels et réinjectez les meilleurs résultats dans votre corpus.
|
|
15
17
|
|
|
16
18
|
Style Dataset Lab relie les éléments que vous avez écrits concernant votre style artistique à l'ensemble de données sur lequel vous entraînez réellement votre modèle. Vous définissez une constitution : règles de silhouette, contraintes de palette, langage des matériaux, tout ce qui est important pour votre projet. Le pipeline génère des candidats, les évalue en fonction de ces règles, et regroupe les œuvres approuvées dans des ensembles de données reproductibles où chaque enregistrement explique pourquoi il a été inclus.
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
Ensuite, le poste de travail de production prend le relais : compilez les instructions de génération à partir des informations du projet, exécutez-les via ComfyUI, critiquez les résultats, produisez en lot des feuilles d'expressions et des planches d'environnement, sélectionnez les meilleurs résultats et réintégrez-les en tant que nouveaux candidats. Le cycle se referme : production, sélection, révision, amélioration.
|
|
19
21
|
|
|
20
22
|
## Le pipeline
|
|
21
23
|
|
|
@@ -28,25 +30,37 @@ sdlab generate inputs/prompts/wave1.json --project my-project
|
|
|
28
30
|
sdlab curate <id> approved "Strong silhouette, correct faction palette"
|
|
29
31
|
|
|
30
32
|
# Bind approved work to constitution rules
|
|
31
|
-
sdlab bind
|
|
33
|
+
# (`sdlab bind` is a shorter alias for `canon-bind`)
|
|
34
|
+
sdlab canon-bind --project my-project
|
|
32
35
|
|
|
33
36
|
# Freeze a versioned dataset
|
|
34
37
|
sdlab snapshot create --project my-project
|
|
35
38
|
sdlab split build
|
|
36
39
|
sdlab export build
|
|
37
40
|
|
|
38
|
-
# Build a training package
|
|
41
|
+
# Build a training package
|
|
39
42
|
sdlab training-manifest create --profile character-style-lora
|
|
40
43
|
sdlab training-package build
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
# Compile a production brief and run it
|
|
46
|
+
sdlab brief compile --workflow character-portrait-set --subject kael_maren
|
|
47
|
+
sdlab run generate --brief brief_2026-04-16_001
|
|
48
|
+
|
|
49
|
+
# Critique, refine, batch-produce
|
|
50
|
+
sdlab critique --run run_2026-04-16_001
|
|
51
|
+
sdlab refine --run run_2026-04-16_001 --pick 001.png
|
|
52
|
+
sdlab batch generate --mode expression-sheet --subject kael_maren
|
|
53
|
+
|
|
54
|
+
# Select the best outputs and bring them back
|
|
55
|
+
sdlab select --run run_2026-04-16_001 --approve 001.png,003.png
|
|
56
|
+
sdlab reingest selected --selection selection_2026-04-16_001
|
|
43
57
|
```
|
|
44
58
|
|
|
45
|
-
Cette dernière commande est essentielle. Les
|
|
59
|
+
Cette dernière commande est essentielle. Les résultats sélectionnés sont réexaminés selon le même processus que tous les autres éléments. Le corpus s'enrichit et les règles restent valables.
|
|
46
60
|
|
|
47
61
|
## Ce qu'il produit
|
|
48
62
|
|
|
49
|
-
Sept artefacts
|
|
63
|
+
Sept artefacts de jeu de données et un poste de travail de production complet. Chaque artefact est lié à ses prédécesseurs, ce qui vous permet de retracer tout enregistrement d'entraînement jusqu'à la règle qui l'a approuvé.
|
|
50
64
|
|
|
51
65
|
| Élément | Description |
|
|
52
66
|
|----------|-----------|
|
|
@@ -58,6 +72,17 @@ Sept artefacts versionnés et vérifiés par checksum. Chacun est lié à ses pr
|
|
|
58
72
|
| **Eval scorecard** | Indicateur de réussite/échec par tâche, basé sur l'évaluation des sorties générées par rapport aux ensembles d'évaluation. |
|
|
59
73
|
| **Implementation pack** | Exemples de prompts, échecs connus, tests de continuité et instructions de réintégration. |
|
|
60
74
|
|
|
75
|
+
Le poste de travail de production ajoute :
|
|
76
|
+
|
|
77
|
+
| Surface | Ce que cela fait |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| **Compiled brief** | Génération déterministe à partir du profil de flux de travail + des informations du projet. |
|
|
80
|
+
| **Run** | Artefact d'exécution figé : instruction + graines + résultats ComfyUI + manifeste. |
|
|
81
|
+
| **Critique** | Évaluation structurée et multidimensionnelle des résultats par rapport à la référence. |
|
|
82
|
+
| **Batch** | Production coordonnée en plusieurs flux (feuilles d'expressions, planches d'environnement, ensembles de silhouettes). |
|
|
83
|
+
| **Selection** | Artefact de décision créative : quels résultats ont été choisis, pourquoi et d'où ils proviennent. |
|
|
84
|
+
| **Re-ingest** | Les résultats sélectionnés sont renvoyés en tant qu'enregistrements candidats avec une traçabilité complète de la génération. |
|
|
85
|
+
|
|
61
86
|
## Pourquoi cela existe
|
|
62
87
|
|
|
63
88
|
Les données d'entraînement sont l'élément le plus important dans tout pipeline d'IA visuelle. Mais la plupart des données d'entraînement ne sont qu'un dossier d'images sans historique, sans trace de jugement et sans lien avec les règles de style qu'elles étaient censées suivre.
|
|
@@ -94,6 +119,12 @@ projects/my-project/
|
|
|
94
119
|
splits/ Train/val/test partitions
|
|
95
120
|
exports/ Versioned export packages
|
|
96
121
|
training/ Profiles, manifests, packages, eval runs, implementations
|
|
122
|
+
workflows/ Workflow profiles + batch mode definitions
|
|
123
|
+
briefs/ Compiled generation briefs
|
|
124
|
+
runs/ Execution artifacts (brief + outputs + manifest)
|
|
125
|
+
batches/ Coordinated multi-slot productions
|
|
126
|
+
selections/ Chosen outputs with reasons and provenance
|
|
127
|
+
inbox/generated/ Re-ingested images awaiting review
|
|
97
128
|
```
|
|
98
129
|
|
|
99
130
|
## Propriétés de confiance
|
|
@@ -130,13 +161,73 @@ npm install -g @mcptoolshop/style-dataset-lab
|
|
|
130
161
|
|
|
131
162
|
Nécessite Node.js 20+ et [ComfyUI](https://github.com/comfyanonymous/ComfyUI) installé localement sur le port 8188 pour la génération.
|
|
132
163
|
|
|
164
|
+
### Essayez-le sans ComfyUI
|
|
165
|
+
|
|
166
|
+
Vous pouvez explorer toute la surface de non-génération (inspection, curation, instantané, division, exportation) à l'aide du projet Star Freight intégré, sans installer ComfyUI ni télécharger de poids SDXL.
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Scaffold a fresh project (no ComfyUI needed)
|
|
170
|
+
sdlab init test --domain game-art
|
|
171
|
+
|
|
172
|
+
# Run the canonical health check (no ComfyUI needed)
|
|
173
|
+
sdlab project doctor --project test
|
|
174
|
+
|
|
175
|
+
# Dry-run a snapshot against the bundled Star Freight corpus
|
|
176
|
+
sdlab snapshot create --dry-run --project star-freight
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
`sdlab project doctor` valide chaque configuration de projet (constitution, voies, grille, terminologie) et signale l'éligibilité sans toucher au GPU. Toute commande qui modifie l'état généré accepte l'option `--dry-run` pour prévisualiser l'effet au préalable.
|
|
180
|
+
|
|
181
|
+
Si vous oubliez `--project`, l'interface de ligne de commande revient au premier projet qu'elle trouve dans le répertoire `projects/` et affiche un avertissement. Utilisez explicitement l'option `--project` pour le supprimer.
|
|
182
|
+
|
|
183
|
+
### Reprise d'une exécution interrompue
|
|
184
|
+
|
|
185
|
+
Les longues exécutions peuvent être reprises sans avoir à refaire le travail déjà effectué :
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Skip subjects whose record + image are already on disk.
|
|
189
|
+
# Seeds are preserved — resumed runs are bit-identical to fresh ones.
|
|
190
|
+
sdlab generate inputs/prompts/wave1.json --project my-project --resume
|
|
191
|
+
|
|
192
|
+
# Re-run only failed/missing slots in an existing batch.
|
|
193
|
+
# Inherits mode/subject/theme from the prior manifest.
|
|
194
|
+
sdlab batch generate --resume batch_2026-04-22_001 --project my-project
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Les deux commandes fonctionnent car chaque emplacement écrit son entrée de manifeste de manière atomique lorsqu'il termine son travail. Ainsi, un crash pendant l'exécution n'endommage jamais l'état partiel.
|
|
198
|
+
|
|
199
|
+
## Dépannage
|
|
200
|
+
|
|
201
|
+
Modes de défaillance courants et solutions :
|
|
202
|
+
|
|
203
|
+
**`ECONNREFUSED 127.0.0.1:8188` pour toute commande `sdlab generate` / `sdlab run generate` / `sdlab batch generate`**
|
|
204
|
+
ComfyUI n'est pas en cours d'exécution. Démarrez ComfyUI (`python main.py --listen 127.0.0.1 --port 8188`) et vérifiez avec `curl http://127.0.0.1:8188/system_stats`. Pour pointer vers un autre hôte/port, définissez `COMFY_URL=http://host:port`.
|
|
205
|
+
|
|
206
|
+
**`missing checkpoint` / `LoRA weight not found`**
|
|
207
|
+
Votre profil de flux de travail fait référence à un fichier de modèle qui ne se trouve pas dans les dossiers `models/checkpoints/` ou `models/loras/` de ComfyUI. Ouvrez `projects/<project>/workflows/profiles/<profile>.json`, localisez le champ `checkpoint` ou `lora` et téléchargez le fichier de poids référencé ou remplacez-le par un fichier que vous avez déjà. Relancez `sdlab project doctor --project <project>` pour confirmer la correction.
|
|
208
|
+
|
|
209
|
+
**`sdlab project doctor` errors**
|
|
210
|
+
Doctor renvoie des codes d'erreur structurés. Les plus courants sont :
|
|
211
|
+
- `E_PROJECT_NOT_FOUND` — le répertoire du projet n'existe pas sous `projects/`. Vérifiez l'orthographe.
|
|
212
|
+
- `E_CONFIG_INVALID` — l'un des cinq fichiers de configuration JSON n'a pas réussi la validation du schéma. Le champ `hint` indique le fichier et le champ concernés.
|
|
213
|
+
- `E_RECORD_DRIFT` — l'empreinte de configuration d'un enregistrement ne correspond plus à sa source. Réexaminez-le ou réassociez-le comme suggéré dans l'invite.
|
|
214
|
+
|
|
215
|
+
**`No --project specified, falling back to <name>`**
|
|
216
|
+
Un avertissement mineur. Utilisez explicitement l'option `--project <name>` pour sélectionner le projet approprié et supprimer l'avertissement.
|
|
217
|
+
|
|
218
|
+
**Problèmes liés au rendu / erreurs de mémoire insuffisante (VRAM)**
|
|
219
|
+
Consultez le fichier `docs/internal/HANDOFF.md` pour les notes de configuration du rendu. En résumé : réduisez l'intensité du débruitage, diminuez la taille des lots ou utilisez un modèle plus petit dans votre profil de flux de travail.
|
|
220
|
+
|
|
221
|
+
**Signalement de bogues**
|
|
222
|
+
Signalez un problème sur https://github.com/mcp-tool-shop-org/style-dataset-lab/issues en indiquant votre version de sdlab (`sdlab --version`), la version de Node.js (`node -v`), la commande complète et la sortie d'erreur structurée. Un modèle de rapport de bogue préremplit les champs.
|
|
223
|
+
|
|
133
224
|
## Sécurité
|
|
134
225
|
|
|
135
226
|
Utilisation locale uniquement. Aucune télémétrie, aucune analyse, aucune requête externe. Les images restent sur votre GPU et votre système de fichiers.
|
|
136
227
|
|
|
137
228
|
## Licence
|
|
138
229
|
|
|
139
|
-
MIT
|
|
230
|
+
Licence MIT.
|
|
140
231
|
|
|
141
232
|
---
|
|
142
233
|
|
package/README.hi.md
CHANGED
|
@@ -8,14 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://www.npmjs.com/package/@mcptoolshop/style-dataset-lab"><img src="https://img.shields.io/npm/v/@mcptoolshop/style-dataset-lab" alt="npm"></a>
|
|
11
|
+
<a href="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml"><img src="https://github.com/mcp-tool-shop-org/style-dataset-lab/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
12
|
+
<a href="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab"><img src="https://codecov.io/gh/mcp-tool-shop-org/style-dataset-lab/branch/main/graph/badge.svg" alt="codecov"></a>
|
|
11
13
|
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License"></a>
|
|
12
14
|
</p>
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
अपने दृश्य नियमों को लिखें। कला उत्पन्न करें। प्रत्येक छवि का मूल्यांकन उन नियमों के आधार पर करें। परिणामों को संस्करणित और ऑडिट योग्य प्रशिक्षण डेटा के रूप में प्रस्तुत करें। फिर, प्रशिक्षित मॉडलों को वास्तविक उत्पादन प्रक्रियाओं में उपयोग करें और सर्वोत्तम परिणामों को वापस अपने डेटासेट में शामिल करें।
|
|
15
17
|
|
|
16
18
|
स्टाइल डेटासेट लैब आपके कलात्मक शैली के बारे में आपने जो कुछ भी लिखा है, उसे उस डेटासेट से जोड़ता है जिससे आप वास्तव में प्रशिक्षण लेते हैं। आप एक "संविधान" परिभाषित करते हैं - जैसे कि आकार के नियम, रंग पैलेट की सीमाएं, सामग्री का विवरण, या जो भी आपके प्रोजेक्ट के लिए महत्वपूर्ण है। यह प्रणाली संभावित विकल्पों को उत्पन्न करती है, उन्हें आपके द्वारा परिभाषित नियमों के आधार पर मूल्यांकन करती है, और स्वीकृत कार्यों को ऐसे डेटासेट में व्यवस्थित करती है जो पुन: प्रयोज्य हों, जहां प्रत्येक प्रविष्टि यह बताती है कि उसे क्यों शामिल किया गया है।
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
फिर उत्पादन कार्यक्षेत्र (प्रोडक्शन वर्कबेंच) सक्रिय होता है: यह प्रोजेक्ट की वास्तविकताओं से संकलित किए गए विवरणों को लेता है, उन्हें कॉमफीयूआई (ComfyUI) के माध्यम से संसाधित करता है, परिणामों की समीक्षा करता है, बड़ी संख्या में एक्सप्रेशन शीट और वातावरण संबंधी चित्र बनाता है, सर्वोत्तम परिणामों का चयन करता है, और उन्हें नए विकल्पों के रूप में फिर से उपयोग करता है। यह प्रक्रिया एक चक्र में चलती रहती है: उत्पादन, चयन, समीक्षा, और सुधार।
|
|
19
21
|
|
|
20
22
|
## पाइपलाइन।
|
|
21
23
|
|
|
@@ -28,25 +30,37 @@ sdlab generate inputs/prompts/wave1.json --project my-project
|
|
|
28
30
|
sdlab curate <id> approved "Strong silhouette, correct faction palette"
|
|
29
31
|
|
|
30
32
|
# Bind approved work to constitution rules
|
|
31
|
-
sdlab bind
|
|
33
|
+
# (`sdlab bind` is a shorter alias for `canon-bind`)
|
|
34
|
+
sdlab canon-bind --project my-project
|
|
32
35
|
|
|
33
36
|
# Freeze a versioned dataset
|
|
34
37
|
sdlab snapshot create --project my-project
|
|
35
38
|
sdlab split build
|
|
36
39
|
sdlab export build
|
|
37
40
|
|
|
38
|
-
# Build a training package
|
|
41
|
+
# Build a training package
|
|
39
42
|
sdlab training-manifest create --profile character-style-lora
|
|
40
43
|
sdlab training-package build
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
# Compile a production brief and run it
|
|
46
|
+
sdlab brief compile --workflow character-portrait-set --subject kael_maren
|
|
47
|
+
sdlab run generate --brief brief_2026-04-16_001
|
|
48
|
+
|
|
49
|
+
# Critique, refine, batch-produce
|
|
50
|
+
sdlab critique --run run_2026-04-16_001
|
|
51
|
+
sdlab refine --run run_2026-04-16_001 --pick 001.png
|
|
52
|
+
sdlab batch generate --mode expression-sheet --subject kael_maren
|
|
53
|
+
|
|
54
|
+
# Select the best outputs and bring them back
|
|
55
|
+
sdlab select --run run_2026-04-16_001 --approve 001.png,003.png
|
|
56
|
+
sdlab reingest selected --selection selection_2026-04-16_001
|
|
43
57
|
```
|
|
44
58
|
|
|
45
|
-
"वह अंतिम आदेश महत्वपूर्ण है।
|
|
59
|
+
"वह अंतिम आदेश महत्वपूर्ण है। चुने गए आउटपुट भी बाकी सब कुछ की तरह ही, उसी समीक्षा प्रक्रिया से गुजरते हैं। डेटा संग्रह लगातार बढ़ रहा है और नियम अभी भी लागू हैं।"
|
|
46
60
|
|
|
47
61
|
## यह क्या उत्पादित करता है।
|
|
48
62
|
|
|
49
|
-
सात
|
|
63
|
+
सात डेटासेट संबंधी अभिलेखागार (आर्टिफैक्ट) और एक पूर्ण उत्पादन कार्यक्षेत्र उपलब्ध हैं। प्रत्येक अभिलेखागार अपने पूर्ववर्ती अभिलेखागार से जुड़ा हुआ है, जिससे आप किसी भी प्रशिक्षण रिकॉर्ड को उस नियम तक वापस खोज सकते हैं जिसने उसे स्वीकृत किया था।
|
|
50
64
|
|
|
51
65
|
| पुरातत्विक वस्तु। | यह क्या है। |
|
|
52
66
|
|----------|-----------|
|
|
@@ -58,6 +72,17 @@ sdlab reingest generated --source ./outputs --manifest <id>
|
|
|
58
72
|
| **Eval scorecard** | प्रत्येक कार्य के लिए, स्कोरिंग के आधार पर उत्पन्न परिणामों की तुलना मूल्यांकन पैकों से की जाती है, और यह निर्धारित किया जाता है कि परिणाम पास हुआ है या फेल। |
|
|
59
73
|
| **Implementation pack** | त्वरित उदाहरण, ज्ञात विफलताएं, निरंतरता परीक्षण, और पुनः उपयोग के लिए मार्गदर्शन। |
|
|
60
74
|
|
|
75
|
+
उत्पादन कार्यक्षेत्र में निम्नलिखित विशेषताएं शामिल हैं:
|
|
76
|
+
|
|
77
|
+
| सतह। | यह क्या करता है। |
|
|
78
|
+
|---------|-------------|
|
|
79
|
+
| **Compiled brief** | कार्यप्रवाह प्रोफाइल और परियोजना की वास्तविक जानकारी के आधार पर, एक निश्चित (निर्धारित) पीढ़ी निर्देश। |
|
|
80
|
+
| **Run** | फ्रीज किए गए निष्पादन कलाकृतियाँ: संक्षिप्त विवरण + बीज (seeds) + कॉमफीयूआई (ComfyUI) के आउटपुट + मैनिफेस्ट (manifest)। |
|
|
81
|
+
| **Critique** | "रन आउटपुट का मानकीकृत, बहु-आयामी मूल्यांकन, जो कि एक स्थापित मानक के आधार पर किया जाता है।" |
|
|
82
|
+
| **Batch** | समन्वित, बहु-स्लॉट उत्पादन (एक्सप्रेशन शीट, पर्यावरण संबंधी बोर्ड, सिल्हूट पैक)। |
|
|
83
|
+
| **Selection** | रचनात्मक निर्णय का दस्तावेज़: किन परिणामों का चयन किया गया, क्यों किया गया, और वे कहाँ से प्राप्त हुए। |
|
|
84
|
+
| **Re-ingest** | चयनित परिणाम "उम्मीदवार रिकॉर्ड" के रूप में वापस आते हैं, जिनमें पूरी जानकारी शामिल होती है कि वे कैसे उत्पन्न हुए। |
|
|
85
|
+
|
|
61
86
|
## यह क्यों मौजूद है?
|
|
62
87
|
|
|
63
88
|
प्रशिक्षण डेटा किसी भी विज़ुअल एआई प्रणाली में सबसे महत्वपूर्ण घटक होता है। लेकिन अधिकांश प्रशिक्षण डेटा छवियों का एक संग्रह होता है, जिसमें कोई पृष्ठभूमि जानकारी, कोई मूल्यांकन प्रक्रिया, और उन शैलीगत नियमों से कोई संबंध नहीं होता जिनका पालन करने की अपेक्षा की जाती थी।
|
|
@@ -94,6 +119,12 @@ projects/my-project/
|
|
|
94
119
|
splits/ Train/val/test partitions
|
|
95
120
|
exports/ Versioned export packages
|
|
96
121
|
training/ Profiles, manifests, packages, eval runs, implementations
|
|
122
|
+
workflows/ Workflow profiles + batch mode definitions
|
|
123
|
+
briefs/ Compiled generation briefs
|
|
124
|
+
runs/ Execution artifacts (brief + outputs + manifest)
|
|
125
|
+
batches/ Coordinated multi-slot productions
|
|
126
|
+
selections/ Chosen outputs with reasons and provenance
|
|
127
|
+
inbox/generated/ Re-ingested images awaiting review
|
|
97
128
|
```
|
|
98
129
|
|
|
99
130
|
## ट्रस्ट की संपत्ति।
|
|
@@ -130,13 +161,75 @@ npm install -g @mcptoolshop/style-dataset-lab
|
|
|
130
161
|
|
|
131
162
|
इसके लिए Node.js 20+ और [ComfyUI](https://github.com/comfyanonymous/ComfyUI) की आवश्यकता है, जो localhost:8188 पर चल रहा होना चाहिए, ताकि सामग्री उत्पन्न की जा सके।
|
|
132
163
|
|
|
164
|
+
### इसे बिना ComfyUI के आज़माएं।
|
|
165
|
+
|
|
166
|
+
आप "स्टार फ्रेट" नामक प्रोजेक्ट का उपयोग करके, बिना किसी भी अतिरिक्त सॉफ़्टवेयर को स्थापित किए या किसी भी एसडीएक्सएल फ़ाइल को डाउनलोड किए, "नॉन-जेनरेशन" (गैर-उत्पादन) की सभी सुविधाओं का पता लगा सकते हैं, जैसे कि निरीक्षण, चयन, स्नैपशॉट, विभाजन और निर्यात।
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
# Scaffold a fresh project (no ComfyUI needed)
|
|
170
|
+
sdlab init test --domain game-art
|
|
171
|
+
|
|
172
|
+
# Run the canonical health check (no ComfyUI needed)
|
|
173
|
+
sdlab project doctor --project test
|
|
174
|
+
|
|
175
|
+
# Dry-run a snapshot against the bundled Star Freight corpus
|
|
176
|
+
sdlab snapshot create --dry-run --project star-freight
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
`sdlab प्रोजेक्ट डॉक्टर` प्रत्येक प्रोजेक्ट कॉन्फ़िगरेशन (संरचना, चरण, मूल्यांकन मानदंड, शब्दावली) की जांच करता है और बिना ग्राफिक्स प्रोसेसिंग यूनिट (GPU) का उपयोग किए, परियोजना की पात्रता की रिपोर्ट देता है। कोई भी कमांड जो उत्पन्न डेटा को बदलता है, `--dry-run` विकल्प के साथ उपयोग किया जा सकता है ताकि पहले उसके प्रभाव को देखा जा सके।
|
|
180
|
+
|
|
181
|
+
यदि आप `--project` विकल्प को भूल जाते हैं, तो कमांड-लाइन इंटरफेस (CLI) `projects/` फ़ोल्डर के अंतर्गत पाए जाने वाले पहले प्रोजेक्ट का उपयोग करेगा और एक चेतावनी प्रदर्शित करेगा। इस चेतावनी को बंद करने के लिए, `--project` विकल्प को स्पष्ट रूप से निर्दिष्ट करें।
|
|
182
|
+
|
|
183
|
+
### अवरुद्ध प्रक्रिया को फिर से शुरू करना
|
|
184
|
+
|
|
185
|
+
लंबे समय तक चलने वाली प्रक्रियाओं को फिर से शुरू किया जा सकता है बिना पहले से किए गए काम को दोहराए:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Skip subjects whose record + image are already on disk.
|
|
189
|
+
# Seeds are preserved — resumed runs are bit-identical to fresh ones.
|
|
190
|
+
sdlab generate inputs/prompts/wave1.json --project my-project --resume
|
|
191
|
+
|
|
192
|
+
# Re-run only failed/missing slots in an existing batch.
|
|
193
|
+
# Inherits mode/subject/theme from the prior manifest.
|
|
194
|
+
sdlab batch generate --resume batch_2026-04-22_001 --project my-project
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
दोनों कमांड काम करते हैं क्योंकि प्रत्येक स्लॉट अपनी मैनिफेस्ट प्रविष्टि को पूरा होने पर एक साथ लिखता है - प्रक्रिया के बीच में होने वाली किसी भी खराबी से आंशिक स्थिति दूषित नहीं होती है।
|
|
198
|
+
|
|
199
|
+
## समस्या निवारण।
|
|
200
|
+
|
|
201
|
+
सामान्य खराबी के प्रकार और उनके समाधान:
|
|
202
|
+
|
|
203
|
+
`ECONNREFUSED 127.0.0.1:8188` - यह त्रुटि `sdlab generate`, `sdlab run generate` या `sdlab batch generate` कमांड चलाने के दौरान आ सकती है।
|
|
204
|
+
|
|
205
|
+
ComfyUI चल नहीं रहा है। ComfyUI को शुरू करें (`python main.py --listen 127.0.0.1 --port 8188`) और `curl http://127.0.0.1:8188/system_stats` कमांड से इसकी पुष्टि करें। यदि आप किसी अन्य होस्ट/पोर्ट का उपयोग करना चाहते हैं, तो `COMFY_URL=http://होस्ट:पोर्ट` सेट करें।
|
|
206
|
+
|
|
207
|
+
**`चेकपॉइंट गुम है` / `LoRA फ़ाइल नहीं मिली`**
|
|
208
|
+
|
|
209
|
+
आपके वर्कफ़्लो प्रोफाइल में एक मॉडल फ़ाइल का नाम दिया गया है जो ComfyUI के `models/checkpoints/` या `models/loras/` फ़ोल्डर में मौजूद नहीं है। `projects/<प्रोजेक्ट>/workflows/profiles/<प्रोफाइल>.json` फ़ाइल खोलें, `checkpoint` या `lora` फ़ील्ड ढूंढें, और या तो संदर्भित फ़ाइल को डाउनलोड करें या उसे उस फ़ाइल से बदल दें जो आपके पास पहले से है। सुधार की पुष्टि करने के लिए `sdlab project doctor --project <प्रोजेक्ट>` कमांड को फिर से चलाएं।
|
|
210
|
+
|
|
211
|
+
**`sdlab प्रोजेक्ट डॉक्टर` त्रुटियां**
|
|
212
|
+
डॉक्टर संरचित त्रुटि कोड लौटाता है। कुछ सामान्य त्रुटियां:
|
|
213
|
+
- `E_PROJECT_NOT_FOUND` — "projects/" फ़ोल्डर के अंतर्गत प्रोजेक्ट डायरेक्टरी मौजूद नहीं है। वर्तनी की जांच करें।
|
|
214
|
+
- `E_CONFIG_INVALID` — पांच JSON कॉन्फ़िगरेशन फ़ाइलों में से किसी एक में स्कीमा सत्यापन विफल हो गया है। "hint" फ़ील्ड में उस गलत फ़ाइल और फ़ील्ड का नाम दिया गया है।
|
|
215
|
+
- `E_RECORD_DRIFT` — किसी रिकॉर्ड के कॉन्फ़िगरेशन फ़िंगरप्रिंट अब उसके स्रोत से मेल नहीं खाते हैं। "hint" में दिए गए सुझाव के अनुसार, इसे फिर से व्यवस्थित करें या फिर से जोड़ें।
|
|
216
|
+
|
|
217
|
+
**`कोई प्रोजेक्ट निर्दिष्ट नहीं है, इसलिए डिफ़ॉल्ट रूप से <नाम> का उपयोग किया जा रहा है`**
|
|
218
|
+
यह एक चेतावनी संदेश है। सही प्रोजेक्ट का चयन करने और इस चेतावनी को बंद करने के लिए `--project <नाम>` विकल्प का स्पष्ट रूप से उपयोग करें।
|
|
219
|
+
|
|
220
|
+
**पेंटरली / वीआरएएम (VRAM) मेमोरी से बाहर होने की समस्याएँ**
|
|
221
|
+
"पेंटरली" डीनोइजिंग (denoise) के ट्यूनिंग नोट्स के लिए, `docs/internal/HANDOFF.md` देखें। संक्षेप में: डीनोइजिंग की शक्ति को कम करें, बैच का आकार घटाएं, या अपने वर्कफ़्लो प्रोफाइल में छोटे चेकपॉइंट का उपयोग करें।
|
|
222
|
+
|
|
223
|
+
**बग की रिपोर्ट करना**
|
|
224
|
+
https://github.com/mcp-tool-shop-org/style-dataset-lab/issues पर एक मुद्दा दर्ज करें, जिसमें आपके sdlab संस्करण (`sdlab --version`), नोड संस्करण (`node -v`), पूरा कमांड और संरचित त्रुटि आउटपुट शामिल हों। एक बग रिपोर्ट टेम्पलेट स्वचालित रूप से फ़ील्ड को भर देगा।
|
|
225
|
+
|
|
133
226
|
## सुरक्षा
|
|
134
227
|
|
|
135
228
|
यह केवल स्थानीय रूप से काम करता है। इसमें कोई टेलीमेट्री, कोई विश्लेषण और कोई बाहरी अनुरोध शामिल नहीं हैं। छवियां आपके GPU और फ़ाइल सिस्टम पर ही रहती हैं।
|
|
136
229
|
|
|
137
230
|
## लाइसेंस
|
|
138
231
|
|
|
139
|
-
MIT
|
|
232
|
+
एमआईटी (MIT)
|
|
140
233
|
|
|
141
234
|
---
|
|
142
235
|
|