Git Product home page Git Product logo

object-detection-in-keras's People

Contributors

hkt999 avatar socret360 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

object-detection-in-keras's Issues

instructions of use

I am trying to use SSD300 to train on my own dataset and I don't know from where to start to train the model. Can you guide on how to train the model

NaN SSD Loss

While training, loss is nan on the custom dataset.

Here is the error which is displayed:
1/562 [..............................] - ETA: 1:39:05 - loss: nanBatch 0: Invalid loss, terminating training
/home/user/Shared Tasks/proj/Self_driving_cars/object-detection-in-keras/utils/bbox_utils/iou.py:31: RuntimeWarning: divide by zero encountered in true_divide
res = intersect / union
562/562 [==============================] - 51s 73ms/step - loss: nan - val_loss: nan

problem of size

Hi,

I'm dealing with an issue in a code but when I'm trying to connect my VGG16 train by myself to your ssd300. During the training, an error kill the process. It's about a problem of shape in the loss function. For more precision i give you the exact text show in terminal :

tensorflow.python.framework.errors_impl.InvalidArgumentError:  Incompatible shapes: [1,8732,4] vs. [1,10,0]
	 [[node compute/sub_1 (defined at /losses/smooth_l1_loss.py:22) ]] [Op:__inference_train_function_6041]

Errors may have originated from an input operation.
Input Source operations connected to node compute/sub_1:
 compute/strided_slice_2 (defined at /losses/ssd_loss.py:43)	
 compute/strided_slice_3 (defined at /losses/ssd_loss.py:44)

the two lines mention in ssd_loss are :

bbox_true = y_true[:, :, -12:-8]
bbox_pred = y_pred[:, :, -12:-8]

A little precison about my vgg16, I'm using a binary vgg16 to detect just one class.
if you have an idea about this problem it's will be very helpful. Thank you for your project who is very clear and complete.

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.