Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make image processor log JSON for classification probabilities #196

Open
EricPedley opened this issue Jun 1, 2024 · 0 comments
Open

Make image processor log JSON for classification probabilities #196

EricPedley opened this issue Jun 1, 2024 · 0 comments

Comments

@EricPedley
Copy link
Member

EricPedley commented Jun 1, 2024

Description

Rn the logs for are in a format that is a pain in the ass to process with a computer. IDK why I thought this would be a good idea instead of just logging JSON. Also while we're at it, implement methods in ProbabilisticTargetDescriptor to serialize to and deserialize from a JSON object.

        TargetDescription(
            Shapes:
                circle: 0.000
                semicircle: 0.040
                quartercircle: 0.000
                triangle: 0.010
                rectangle: 0.000
                pentagon: 0.000
                star: 0.000
                cross: 0.960
                person: 0.030
            Letters:
                0: 0.002
                1: 0.046
                A: 0.017
                B: 0.001
                C: 0.003
                D: 0.001
                E: 0.012
                F: 0.098
                G: 0.000
                H: 0.004
                I: 0.015
                J: 0.113
                2: 0.006
                K: 0.007
                L: 0.002
                M: 0.003
                N: 0.002
                O: 0.001
                P: 0.078
                Q: 0.001
                R: 0.006
                S: 0.031
                T: 0.201
                3: 0.049
                U: 0.017
                V: 0.061
                W: 0.000
                X: 0.005
                Y: 0.068
                Z: 0.003
                4: 0.089
                5: 0.019
                6: 0.007
                7: 0.013
                8: 0.007
                9: 0.013
            Shape Colors:
                red: 0.000
                orange: 0.000
                green: 0.000
                blue: 0.000
                purple: 0.000
                white: 1.000
                black: 0.000
                brown: 0.000
            Letter Colors:
                red: 0.000
                orange: 0.000
                green: 0.000
                blue: 0.000
                purple: 1.000
                white: 0.000
                black: 0.000
                brown: 0.000
        )
        
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant