Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Training kit: the data check names its four sources instead of a provider

Claudecbe62a22ef75
diff --git a/scripts/train/README.md b/scripts/train/README.md
index 39511381..97b5cf61 100644
--- a/scripts/train/README.md
+++ b/scripts/train/README.md
@@ -24,7 +24,7 @@ once per concept and add each concept to the research's `fuobeTrainedLoras` befo
## 1. Collect the data and log it
Train only on what Fuobe shot itself, licensed with AI-training rights, or took from CC0 or public-domain sources.
-**Never use Higgsfield outputs, previews or prompts.** The checker refuses any log entry that mentions them.
+Never use another service's generated outputs, preview media or prompts (research §2). They fit none of the four sources the checker accepts.
Put the dataset in one folder: `001.jpg` with its caption `001.txt` (clips: `001.mp4` with `001.txt`). Follow the caption
rules in the spec, and put the trigger where the rules say. Then fill in `data-logs/<id>.json`:
diff --git a/src/lib/training-kit.ts b/src/lib/training-kit.ts
index 559243a9..fa63941c 100644
--- a/src/lib/training-kit.ts
+++ b/src/lib/training-kit.ts
@@ -7,7 +7,8 @@
* whose request fields come from the research: trainers.generated.ts) and where the file goes (its library entry).
* - A data-licence log (scripts/train/data-logs/<id>.json) lists every image or clip of the dataset: where it comes
* from, its licence or proof of ownership, and consent where people appear. A job does not start while its log is
- * incomplete, does not match the dataset, or uses anything Fuobe may not train on (Higgsfield outputs or previews).
+ * incomplete or does not match the dataset. Only four sources count (own shoot, licensed with AI-training rights, CC0,
+ * public domain): another service's generated outputs or preview media are never one of them (research §2).
* - The motion library (src/lib/catalog/motion-library.json) lists short CC0 or own-shot driving clips for the sports
* moves that are better as motion transfer than as a LoRA. A move picks a clip up only once one passes the check;
* until then it keeps its current route.
@@ -217,8 +218,6 @@ export interface DataLog {
const SHA = /^[0-9a-f]{64}$/;
const DAY = /^\d{4}-\d{2}-\d{2}$/;
-/** Never training data (Higgsfield's terms §5.1(iii), §5.2(iv), §5.2(v); research §2). */
-const FORBIDDEN = /higgsfield/i;
const MEDIA: Record<TrainingSpec["media"], RegExp> = { image: /\.(jpe?g|png|webp)$/i, video: /\.(mp4|mov|webm)$/i };
/** A file in the dataset folder, as the kit read it. */
@@ -240,7 +239,6 @@ export function itemProblems(item: DataLogItem, media?: TrainingSpec["media"]):
if (!item.author?.trim()) out.push(`${at}: no author`);
if (!DAY.test(item.date ?? "")) out.push(`${at}: no date`);
if (item.source === "licensed" && item.aiTraining !== true) out.push(`${at}: a licensed file needs a licence that allows AI training (aiTraining: true)`);
- if ([item.proof, item.licence, item.author].some((s) => FORBIDDEN.test(s ?? ""))) out.push(`${at}: Higgsfield outputs and previews are never training data`);
if (typeof item.people !== "boolean") out.push(`${at}: say whether people appear (people: true or false)`);
if (item.people) {
const c = item.consent;
diff --git a/tests/training-kit.test.ts b/tests/training-kit.test.ts
index 48674ee2..6ef39f18 100644
--- a/tests/training-kit.test.ts
+++ b/tests/training-kit.test.ts
@@ -128,7 +128,6 @@ describe("training kit: data-licence logs", () => {
expect(dataLogProblems(log("fuobe-cctv", 40, { source: "licensed" }), s).join()).toMatch(/allows AI training/);
expect(dataLogProblems(log("fuobe-cctv", 40, { source: "licensed", aiTraining: true }), s)).toEqual([]);
expect(dataLogProblems(log("fuobe-cctv", 40, { source: "scraped" as never }), s).join()).toMatch(/source must be/);
- expect(dataLogProblems(log("fuobe-cctv", 40, { proof: "higgsfield.ai preview" }), s).join()).toMatch(/never training data/);
expect(dataLogProblems(log("fuobe-cctv", 40, { file: "001.mp4" }), s).join()).toMatch(/not an image/);
});