GithubHelp home page GithubHelp logo

Comments (9)

hizhangp avatar hizhangp commented on July 28, 2024

Please refer to #1 and #3 .

from yolo_tensorflow.

Abduoit avatar Abduoit commented on July 28, 2024

Thanks for reply @hizhangp
I have set of images but i don't know how to train the model with it? I read these two issues but still I didn't get it
could u plz tell me how to do it

from yolo_tensorflow.

hizhangp avatar hizhangp commented on July 28, 2024

Just change your images and labels into pascal_voc version.

from yolo_tensorflow.

Abduoit avatar Abduoit commented on July 28, 2024

I changed the images in VOC2007 folder and try to train it again
I got the following error

~/yolo_tensorflow$ python train.pyLoading gt_labels from: data/pascal_voc/cache/pascal_train_gt_labels.pkl
Appending horizontally-flipped training examples ...
Start training ...
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in resize, file /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/modules/imgproc/src/imgwarp.cpp, line 3492
Traceback (most recent call last):
File "train.py", line 164, in
main()
File "train.py", line 158, in main
solver.train()
File "train.py", line 68, in train
images, labels = self.data.get()
File "/home/abdulrahman/yolo_tensorflow/utils/pascal_voc.py", line 35, in get
images[count, :, :, :] = self.image_read(imname, flipped)
File "/home/abdulrahman/yolo_tensorflow/utils/pascal_voc.py", line 47, in image_read
image = cv2.resize(image, (self.image_size, self.image_size))
cv2.error: /tmp/binarydeb/ros-kinetic-opencv3-3.2.0/modules/imgproc/src/imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function resize

from yolo_tensorflow.

hizhangp avatar hizhangp commented on July 28, 2024

Check your image.

from yolo_tensorflow.

Abduoit avatar Abduoit commented on July 28, 2024

How to check it, what do you mean ?

from yolo_tensorflow.

hizhangp avatar hizhangp commented on July 28, 2024

Some of your images are empty

from yolo_tensorflow.

Abduoit avatar Abduoit commented on July 28, 2024

could you please tell me what should I do,maybe I did something wrong

from yolo_tensorflow.

hizhangp avatar hizhangp commented on July 28, 2024

I think you should check your image ...

from yolo_tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.