Skip to content

Labels: Snow is incorrectly categorized as an Animal #5057

Description

@petrst

Any picture with label "snow" will be categorized to broader category "Animal". That is incorrect.

Image

Steps to reproduce the behavior:

  1. Pick any image which is clearly not an animal
  2. Go to Edit / Labels
  3. Add label "Snow"
  4. Go to view Labels.
  5. Press eye icon in to right corner (Show more) to see the broader categories
  6. Choose album Animals
  7. Your picture appears here although it is not an animal

Which software versions do you use?

PhotoPrism CE Build 250611-c8ce9ec77

The probably cause is wrong classification rules in rules.go

	"dogsled": {
		Label:      "snow",
		Threshold:  0.900000,
		Priority:   0,
		Categories: []string{"animal", "dog"},
	}

that is categorizing "snow" as "animal", but also as a "dog"

Metadata

Metadata

Assignees

Labels

releasedAvailable in a stable releasetestedChanges have been tested successfully

Type

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions