tensorflow-image-detection icon indicating copy to clipboard operation
tensorflow-image-detection copied to clipboard

train.sh error

Open l53ma opened this issue 5 years ago • 8 comments

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.

l53ma avatar Oct 29 '19 20:10 l53ma

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.

ArunMichaelDsouza avatar Nov 04 '19 21:11 ArunMichaelDsouza

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...

Tuymaz avatar Dec 09 '19 05:12 Tuymaz

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

ArunMichaelDsouza avatar Dec 19 '19 16:12 ArunMichaelDsouza

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.

gptshubham595 avatar May 19 '20 17:05 gptshubham595

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

ArunMichaelDsouza avatar May 25 '20 19:05 ArunMichaelDsouza

See this once: image

image

gptshubham595 avatar May 25 '20 19:05 gptshubham595

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 avatar May 25 '20 19:05 gptshubham595

Cool Worked:

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

now it worked

gptshubham595 avatar May 25 '20 20:05 gptshubham595