clamsproject / app-swt-detection

CLAMS app for detecting scenes with text from video input
Apache License 2.0
1 stars 0 forks source link

app reports no score for "negative" label #87

Closed keighrim closed 8 months ago

keighrim commented 8 months ago

Bug Description

TimePoint annotations now outputs softmax scores for all labels, except for the "NEG" label.

Reproduction steps

A sample TimePoint annotation from v4.2 output

        {
          "@type": "http://mmif.clams.ai/vocabulary/TimePoint/v2",
          "properties": {
            "timePoint": 29162,
            "label": "B",
            "classification": {
              "B": 0.999935507774353,
              "S": 2.724279413168773e-10,
              "S:H": 7.715690337888889e-21,
              "S:C": 1.2436014274881214e-20,
              "S:D": 1.9273369152978629e-16,
              "S:B": 1.600163446642786e-20,
              "S:G": 2.197871103329562e-19,
              "W": 1.416792377861853e-10,
              "L": 8.117535799101461e-08,
              "O": 1.570075028212159e-06,
              "M": 4.923081723973155e-05,
              "I": 6.74253361476751e-12,
              "N": 3.276118612505208e-11,
              "E": 3.509296675474616e-07,
              "P": 2.5961377492222937e-09,
              "Y": 2.743139916605575e-13,
              "K": 6.853913205891573e-16,
              "G": 1.1964755685767159e-05,
              "T": 9.493768965418425e-11,
              "F": 1.5987422974025889e-12,
              "C": 5.176354543568948e-14,
              "R": 2.384590025439337e-10
            },
            "id": "tp_26"
          }
        },

Expected behavior

Probability of "none-of-above" negative label should also be included in the output.

Log output

No response

Screenshots

No response

Additional context

No response