Features
Tags
Regular and smart tags. How the classifier scores them, how thresholds and locks work, and renaming, merging and deleting.
Tags are labels on media. Hubstruct has two kinds:
- Regular tags are applied by hand.
- Smart tags are applied by the tagging step: a vision classifier checks every media in the library for each smart tag, and applies it when it's sure enough.
A tag can be switched between the two at any time.
The Tags page
Tags lists every tag in the library, as a gallery of mosaics (each tag's best matches) or as a table. Sort by name, by how many media carry it, or by when it was made; search by name or description.
Open a tag to see its media, best match first, as a list you can filter, sort and select like any other. Its header shows how many media carry it, and its Settings tab has the rest.
Making a tag
Choose New tag and give it:
- A name, as you'd say it, such as
Golden hourorBirthday party. Up to 64 characters, and no commas. Hubstruct makes a slug from it (golden_hour), shown under the name as you type. Slugs are unique within a library, soClose upandclose-upcan't be two tags: tagging somethingclose-upuses theClose uptag. A filter can name a tag by either. - A description: what the tag means, in plain words, up to 1,000 characters.
The description matters for smart tags: the classifier is asked about the tag by its name and its description. "A sandy beach or the sea shore, with or without people" gets far better results than "beach".
Smart tags
On a tag's Settings, switch on Smart tagging. From then on:
- The tagging step asks the classifier, for every media in the library, does this fit?, and stores its confidence, from 0 to 100%.
- Where the confidence reaches the tag's required confidence, the tag is applied.
- New media is scored for every smart tag as it arrives.
Adding a smart tag only scores media for that tag: the step asks about tags each media is still missing a score for, so the rest of the library's scores aren't redone.
The classifier
Smart tags are scored by d1, a small decision model. For each media it's given the picture (a GIF or video as a short clip it watches through) and asked, for each smart tag, whether it applies; its confidence is the probability it gives yes. All of a media's tags are asked in one request, over one reading of it, so a library with dozens of smart tags is still quick to tag.
While the models server isn't running, tagging waits. See Sharing one GPU.
Required confidence
Each smart tag has its own required confidence, 80% by default. In the tag's Settings:
- A histogram shows how the classifier's confidences for this tag are spread across the library.
- Moving the slider shows, live, how many media it would tag, the matches just inside the line and the ones just outside it, and how many are tagged by hand regardless.
- A word beside it says how strict the setting is.
Changing the threshold re-labels media straight away, from the stored scores: nothing is re-run. Lower it and more media get the tag; raise it and some lose it.
Locking a tag on or off
On a media's page, the Tags card lists every tag in the library with this media's confidence for each, applied tags first. Check or uncheck a tag to lock it:
- Locked on: the media keeps the tag whatever its confidence.
- Locked off: the media never gets the tag, however sure the classifier is.
A locked tag keeps its state when the threshold moves or the tag is re-scored. The classifier's confidence is still refreshed and shown, so you can see when it disagrees with you.
The card has its own search, and sorts by applied-then-confidence, or by confidence alone. Its order stays put while you work, so checking a tag doesn't reshuffle the list under your cursor.
To tag many media at once, select them and use Tag or Untag in the selection bar.
Renaming, merging and deleting
All from the tag's Settings:
- Rename it, or change its description. If it's a smart tag, a new description doesn't re-score existing media by itself; retry tagging on them if you want the new wording applied.
- Merge it into another tag: every media with this tag gets the other, and this one is deleted. Useful for tidying tags with different spellings.
- Delete it: it's removed from every media.
Tags elsewhere
- Search finds media by tag: a search whose words make up a tag's name finds that tag's media. See Search.
- Album rules can require tags, any or all. See Albums.
- A media's tags, with their confidence, are part of its embedding, so tags also help search by meaning.
- New descriptions use the tags already on a media as hints.