Coder Social home page Coder Social logo

Comments (6)

rkrasin avatar rkrasin commented on June 24, 2024

Works for me. (TensorFlow 1.3.0, Mac OS 10.12.6, Python 2.7)

Does the old model (tools/classify.py) work or fail? Can you try to run it?

from dataset.

amirim avatar amirim commented on June 24, 2024

yes, classify.py works well (TensorFlow 1.3.0, Mac OS 10.12.6, Python 2.7.13), with these comments:
2017-10-31 11:55:21.730783: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-31 11:55:21.730804: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-10-31 11:55:21.730808: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-10-31 11:55:21.730811: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.

from dataset.

rkrasin avatar rkrasin commented on June 24, 2024

Great, that means your TensorFlow installation is likely correct. Can you also post the command line you use to start the classify_oidv2.py, as well as to check that all of the files mentioned are available by the provided paths?

from dataset.

amirim avatar amirim commented on June 24, 2024

--checkpoint_path='oidv2-resnet_v1_101.ckpt' --labelmap=classes-trainable.txt --dict=class-descriptions.csv --image=12.jpg --top_k=10 --score_threshold=0.3

from dataset.

rkrasin avatar rkrasin commented on June 24, 2024

The command line looks correct. My only guess would be that one of the checkpoint files is corrupted and TensorFlow does not correctly handle that (pure speculation). Below are the sha1 sums for these files. You're welcome to check if you have the same on your computer:

$ shasum oidv2-resnet_v1_101.ckpt.*
354b0ccf5065960f2f182ba2ac5421512abaf938  oidv2-resnet_v1_101.ckpt.data-00000-of-00001
8e9c3ee1aae8a00fea2a820814b4ef353a2cb28f  oidv2-resnet_v1_101.ckpt.index
bbf874a59b0460033540d2d976a1cd26c04c25a8  oidv2-resnet_v1_101.ckpt.meta

from dataset.

nalldrin avatar nalldrin commented on June 24, 2024

It sounds like this issue isn't reproducible. I'm going to close for now, feel free to re-open if you weren't able to resolve it and want more assistance.

from dataset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.