models icon indicating copy to clipboard operation
models copied to clipboard

Inception module error on Nvidia TX1 (no module named)

Open elirex opened this issue 10 years ago • 7 comments

I run inception on Nvidia TX1 and Tensorflow version is 0.9

  • Step 1
    I run command "bazel build inception/imagenet_train" then I get response:
INFO: Found 1 target...
Target //incpetion:imagenet_train up-to-date:
    bazel-bin/inception/imagenet_train
INFO: Elapsed time: 0.282s, Critical Path: 0.00s
  • Step 2
    I run bazel-bin/inception/imagnet_train (with argument according README), but I get error:
Traceback (most recent call last):
File "/.../tensorflow/models/inception/bazel-bin/inception/imagenet_train.runfiles/inception/inception/imagenet_train.py", line 25, in <module>
    from inception import inception_train
ImportError: No module named inception

elirex avatar Nov 01 '16 03:11 elirex

Try

bazel run inception/imagenet_train -- --num_gpus=1 --batch_size=32 --train_dir=/tmp/imagenet_train --data_dir=/tmp/imagenet_data

aselle avatar Nov 01 '16 18:11 aselle

I tried that, but it doesn't work. The response message is same (ImportError: No module named inception).

elirex avatar Nov 04 '16 10:11 elirex

Does this have something to do with //incpetion:imagenet_train being misspelled?

girving avatar Feb 11 '17 00:02 girving

It does not. I am getting the same error, I not too sure about the inner workings of bazel, but i think its a problem with the symbolic links bazel creates.

0xE0-rng avatar Feb 16 '17 18:02 0xE0-rng

@shlens Have you seen this? I'm not very familiar with the build setup of models.

girving avatar Feb 16 '17 18:02 girving

@girving This is new to me. I would examine the bazel-bin and bazel-genfiles to see which libraries were generated and if it corresponds to the libraries in the import statements. If not, then there might be something amiss with the bazel setup

shlens avatar Feb 17 '17 00:02 shlens

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

itsmeolivia avatar Feb 08 '18 00:02 itsmeolivia