Code Monkey home page Code Monkey logo

mobilenets-ssd-pytorch's Introduction

just a dreamy guy

tranleanh stats

mobilenets-ssd-pytorch's People

Contributors

comeeasy avatar tranleanh 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mobilenets-ssd-pytorch's Issues

Detect Objects: 0.

Why Detect Objects: 0. when testing?
I only train mb1-ssd on VOC2007 datasets, should I also pre-processing bdd2voc.py?

851052d3ba67a575eaccb25590f217d

Index for mobilenetSSD

Do you have mAP index for mobilenetSSD when training mobilenetSSD?
Thank yor for sharing!

Validation/test dataset confusion

Hi, thanks for the great repository!

I am a bit confused about the val and test datasets:
in the bdd100k folder, the images are split into train (70000) and val (10000).
Inside the bdd_files folder, there are text files indicating the following:
trainval.txt has 70000
test.txt has 10000

I would like to know if test.txt has the same 10000 images as ther val folder within bdd100k. If so, are the words validation dataset ad test set used interchangably and we dont provide any real test set (unseen)?

incorrect shape when loading model checkpoints

Hello,

I have trained several models vgg16-ssd and mb1-ssd-lite. However when I try to run inference on single image and load the model I always get incorrect shapes and weight names. What could cause that?

Examples of incorrect shape and weight names when loading model checkpoints for vgg16-ssd:

image

Best regards,
Roberts

test code only work for original label map pf 21 element

Hi,

create_mobilenetv2_ssd_lite has a problem when using label map of 11 element.

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
[<ipython-input-18-eff74db7755d>](https://localhost:8080/#) in <module>()
     14 net = create_mobilenetv2_ssd_lite(11, is_test=1)
     15 
---> 16 net.load(model_path)
     17 
     18 predictor = create_mobilenetv2_ssd_lite_predictor(net, candidate_size=200, nms_method="soft")

1 frames
[/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py](https://localhost:8080/#) in load_state_dict(self, state_dict, strict)
   1481         if len(error_msgs) > 0:
   1482             raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
-> 1483                                self.__class__.__name__, "\n\t".join(error_msgs)))
   1484         return _IncompatibleKeys(missing_keys, unexpected_keys)
   1485 

RuntimeError: Error(s) in loading state_dict for SSD:
	size mismatch for classification_headers.0.3.weight: copying a param with shape torch.Size([126, 576, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 576, 1, 1]).
	size mismatch for classification_headers.0.3.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).
	size mismatch for classification_headers.1.3.weight: copying a param with shape torch.Size([126, 1280, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 1280, 1, 1]).
	size mismatch for classification_headers.1.3.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).
	size mismatch for classification_headers.2.3.weight: copying a param with shape torch.Size([126, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 512, 1, 1]).
	size mismatch for classification_headers.2.3.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).
	size mismatch for classification_headers.3.3.weight: copying a param with shape torch.Size([126, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 256, 1, 1]).
	size mismatch for classification_headers.3.3.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).
	size mismatch for classification_headers.4.3.weight: copying a param with shape torch.Size([126, 256, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 256, 1, 1]).
	size mismatch for classification_headers.4.3.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).
	size mismatch for classification_headers.5.weight: copying a param with shape torch.Size([126, 64, 1, 1]) from checkpoint, the shape in current model is torch.Size([66, 64, 1, 1]).
	size mismatch for classification_headers.5.bias: copying a param with shape torch.Size([126]) from checkpoint, the shape in current model is torch.Size([66]).

Do you have an idea how to correct this ? thanks

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.