models icon indicating copy to clipboard operation
models copied to clipboard

OutOfRangeError (see above for traceback):

Open sed0724963 opened this issue 8 years ago • 21 comments

what it is mean??object_detection module is equal a file of "object_detection" ?or not? 2018-04-19 4 05 25

sed0724963 avatar Apr 19 '18 14:04 sed0724963

You have to rerun instructions from Protobuf Compilation, Add Libraries to PYTHONPATH everytime you close the terminal.

link

VinceKumar avatar Apr 19 '18 17:04 VinceKumar

I was written at PATH.. 。 it's your mean?? 2018-04-20 1 51 23

sed0724963 avatar Apr 19 '18 17:04 sed0724963

pwd should be replaced with the path to the models/research folder.

k-w-w avatar Apr 19 '18 17:04 k-w-w

shouldn't it also be in your .bashrc file?

VinceKumar avatar Apr 19 '18 18:04 VinceKumar

Now, it's my new question,I try to renew the command line ,it's become this ..: 2018-04-20 2 05 51 No such file or directory

sed0724963 avatar Apr 19 '18 18:04 sed0724963

You're missing a space between --logtostderr and --pipeline_config_path.

k-w-w avatar Apr 19 '18 18:04 k-w-w

I renew the command line , Take away the $ mark become:python object_detection/train.py --logtostderr --pipeline_config_path=object_detection/data/faster_rcnn_resnet101_pets.config --train_dir=object_detection/data/ and problem become this... 2018-04-20 2 23 07 2018-04-20 2 23 52 2018-04-20 2 24 10

sed0724963 avatar Apr 19 '18 18:04 sed0724963

#3705

VinceKumar avatar Apr 19 '18 18:04 VinceKumar

a new problem... 2018-04-20 3 05 20 2018-04-20 3 05 40

sed0724963 avatar Apr 19 '18 19:04 sed0724963

That appears to be a bug in tf.contrib.slim. Are you able to upgrade to Tensorflow 1.7 or later?

k-w-w avatar Apr 19 '18 20:04 k-w-w

OK, I'll trying now

sed0724963 avatar Apr 19 '18 20:04 sed0724963

it's successful?? so faster? 2018-04-20 4 11 57

sed0724963 avatar Apr 19 '18 20:04 sed0724963

It looks like it didn't train at all. Did you prepare the data as instructed by the README?

k-w-w avatar Apr 19 '18 20:04 k-w-w

I think I have... 2018-04-20 4 17 43

sed0724963 avatar Apr 19 '18 20:04 sed0724963

If you ' ll allow a slight digression, how did you know about my tensorflow version is too low?? the previous question

sed0724963 avatar Apr 19 '18 20:04 sed0724963

I'm not too familiar with the object detection model, so I'm unsure if that's the expected train directory structure. @derekjchow , can you help with this? Thanks!

@sed0724963 I saw the tf.contrib.slim bug on the r1.6 branch in the source code. The bug was fixed in r1.7. (I also probably could have used the release notes to figure out when the bug was fixed)

k-w-w avatar Apr 19 '18 20:04 k-w-w

but I only have image of my terminal , how did you know ? yourself seen the souce code at before? and how to know my question is same??

sed0724963 avatar Apr 19 '18 20:04 sed0724963

The error local variable 'total_loss' referenced before assignment originated from the file that I linked (learning.py), so I look at the code history and found that there was a bug in r1.6 and before.

k-w-w avatar Apr 19 '18 20:04 k-w-w

Unsuccessful TensorSliceReader constructor?? I only have model.ckpt ,but it tell me must model.ckpt-0?? why?? 2018-04-21 12 05 03

sed0724963 avatar Apr 21 '18 04:04 sed0724963

@sed0724963 The same issue..You solved it?

SpiralBeing avatar Jul 03 '18 07:07 SpiralBeing