Soft auto-apply (retract + confirm, no self-training) + tagging UX (reject-rest, tag-input race, modal playlist) #197
@@ -35,7 +35,7 @@ def _img(db, sha: str, emb) -> ImageRecord:
|
|||||||
return img
|
return img
|
||||||
|
|
||||||
|
|
||||||
def _head(db, tag_id: int, slot: int, *, threshold=0.5, n_pos=30):
|
def _head(db, tag_id: int, slot: int, *, threshold=0.5, n_pos=60):
|
||||||
s = db.execute(select(MLSettings).where(MLSettings.id == 1)).scalar_one()
|
s = db.execute(select(MLSettings).where(MLSettings.id == 1)).scalar_one()
|
||||||
w = [0.0] * 1152
|
w = [0.0] * 1152
|
||||||
w[slot] = 1.0
|
w[slot] = 1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user