Skip to content

No module named inception when running imagenet_eval #570

Closed

Description

@rushilr

I ran bazel build inception/imagenet_eval and bazel-bin/inception/imagenet_eval (with appropriate paths to checkpoints & data) as stated in the Readme and I'm getting the following error. Any help would be much appreciated!

Traceback (most recent call last):
File "/Users/rushil/..../tensorflow_sandbox/models/inception/bazel-bin/inception/imagenet_eval.runfiles/inception/inception/imagenet_eval.py", line 30, in
from inception import inception_eval
ImportError: No module named inception

Activity

  1. asimshankar commented on Oct 21, 2016

    @asimshankar
    Contributor

    @rushilr : Could you share the precise steps you took to end up with this problem? I tried the following, but it succeeded and didn't produce the error you observed:

    # Starting with tensorflow installed, for example using
    # docker run -it gcr.io/tensorflow/tensorflow:latest-devel bash
    git clone https://github.com/tensorflow/models.git
    cd models/inception
    bazel build inception/imagenet_eval
    bazel-bin/inception/imagenet_eval
    
  2. added
    stat:awaiting response
    on Oct 21, 2016
  3. rushilr commented on Oct 22, 2016

    @rushilr
    Author

    Fixed by rebuilding tensorflow from source.

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

    stat:awaiting response

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions