ArunMichaelDsouza / tensorflow-image-detection

A generic image detection program that uses Google's Machine Learning library, Tensorflow and a pre-trained Deep Learning Convolutional Neural Network model called Inception.
MIT License
328 stars 88 forks source link

train.sh error #15

Open l53ma opened 4 years ago

l53ma commented 4 years ago

Screenshot from 2019-10-29 16-52-02

Here is one error i got from running "bash train.sh". Any comments are welcome. Thank you for your valuable work.

ArunMichaelDsouza commented 4 years ago

It might be possible that the input files from the data set are not being read correctly. If the file is not there or incorrectly provided, TF would try to feed an empty tensor of size (0,) which might be causing this issue. Please make sure that the data set contains images of these formats.

Tuymaz commented 4 years ago

image

I got this error when try to run bash train.sh, i have numpy, and i use it in other programs.

please help me...

ArunMichaelDsouza commented 4 years ago

Hi @Tuymaz, I believe numpy needs to be installed with pip depending on the python version -

pip install numpy

Or for python3, use

pip3 install numpy
gptshubham595 commented 4 years ago

image

I got this error when try to run bash train.sh, i have numpy, and i use it in other programs.

please help me...

Same Problem.

ArunMichaelDsouza commented 4 years ago

HI @gptshubham595, which version of python are you using?

gptshubham595 commented 4 years ago

See this once: image

image

gptshubham595 commented 4 years ago

I can use numpy everywhere else spyder , jupyter ,cmd both using py -2 and py -3

Python 3.7.6 numpy, Is there any problem in files or folder missing ?

I have just cloned, Create folder training_dataset->put inside roses,tulips,etc images

gptshubham595 commented 4 years ago

Cool Worked:

This is Using TENSORFLOW V1 I have installed pip install tensorflow==1.15.3

now it worked