Skip to content

Expected outputs from examples #7

Closed

Description

@CarlPoirier

Hi,

I am running through the examples for this. I'm just wondering if it works correctly, especially for the mnist example, since the predictions are not accurate at all. I get this:

Real label: 0, predicted: 2, Probability: 1
Real label: 1, predicted: 0, Probability: 0.54904
Real label: 2, predicted: 2, Probability: 1
Real label: 3, predicted: 5, Probability: 0.639081
Real label: 4, predicted: 8, Probability: 0.472427
Real label: 5, predicted: 2, Probability: 1
Real label: 6, predicted: 8, Probability: 0.908674
Real label: 7, predicted: 5, Probability: 0.984732
Real label: 8, predicted: 2, Probability: 0.999436
Real label: 9, predicted: 5, Probability: 0.974823

It could be great to indicate what are the expected outputs for each example.

Thanks,

Carl

Activity

  1. serizba commented on Nov 13, 2019

    @serizba
    Owner

    Hi,

    By just running the MNIST code using the provided model (model.pb) my results are the following:

    Real label: 0, predicted: 0, Probability: 1
    Real label: 1, predicted: 1, Probability: 0.999979
    Real label: 2, predicted: 2, Probability: 1
    Real label: 3, predicted: 3, Probability: 0.999999
    Real label: 4, predicted: 4, Probability: 0.99907
    Real label: 5, predicted: 5, Probability: 0.999991
    Real label: 6, predicted: 6, Probability: 0.999366
    Real label: 7, predicted: 7, Probability: 0.99999
    Real label: 8, predicted: 8, Probability: 1
    Real label: 9, predicted: 9, Probability: 0.999997

    Maybe you retrained the model using different parameters and you got an unconverged solution.

  2. subramanya2107 commented on Jan 28, 2020

    @subramanya2107

    @serizba @CarlPoirier Am trying to run mnist but having problem in cmake.
    CMake Error at CMakeLists.txt:5 (find_package):
    By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "OpenCV", but
    CMake did not find one.

    Could not find a package configuration file provided by "OpenCV" with any
    of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake
    

    Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
    "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
    provides a separate development package or SDK, be sure it has been
    installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions