Giter VIP home page Giter VIP logo

chainer-ssd's People

Contributors

hakuyume 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chainer-ssd's Issues

demo.py for windows report

In Windows, if not explicitly cast to float, it will be 0 and 'demo.py' will not work. work by this fix.
your code is very helpful. thank you!

class SSD300(chainer.Chain):
---------------------
#steps = [s / 300 for s in (8, 16, 32, 64, 100, 300)] ----- original code
steps = [np.float32(s) / 300 for s in (8, 16, 32, 64, 100, 300)]
#sizes = [np.float32(s) / 300 for s in (30, 60, 111, 162, 213, 264, 315)] ----- original code
sizes = [np.float32(s) / 300 for s in (30, 60, 111, 162, 213, 264, 315)]

mAP code?

Where is your code to calculate mAP?

The pascal provided code is in matlab, and it is frustrating that there are no good python implementation available anywhere. I have been struggling to get a proper mAP for my pytorch implementation and am looking to check with someone else's.

Thanks

Ask for help. I'm puzzled with voc.py. Other operations may be required.

Hello! @Hakuyume Great jobs. Your work makes the world a better place. I have seen your project carefully. But, now I have some with the file voc.py.
default
Just as the picture shows: os.path.join(root, 'ImageSets', 'Main', name + '.txt'), after unzip VOCtrainval_06-Nov-2007.zip ,it's folder "Main" include many *.txt files, but in file voc.py, I guess 'name' should be in ['train', 'val','trainval'] or similar format. I'm a little confused here. It would be great if you can help me out. Thanks in advance..

Issue on Windows?

Hello Hakuyume-san,
On Windows and Python 3.6.0 :: Anaconda 4.3.0 (64-bit), This line occurs error.

multibox.py:56: 
hard_neg = rank < (np.count_nonzero(t_conf, axis=1) * 3)[:, np.newaxis]
TypeError: 'int' object is not subscriptable

I thought count_nonzero with axis does not work on windows.
Output type is 'int' expected 'numpy'.
So I replaced source code like bellow and it seems working well.

        non_zero = np.zeros((n,1))
        for i in range(n):
            non_zero[i] = (np.count_nonzero(t_conf[i])) 
        non_zero *= 3
        hard_neg = rank < non_zero

Honestly saying, I have just started python for 2 month, so it is not beautiful.
But I like this chainer and SSD. I would like to contribute you. Please tell me how to do.
Thanks for your excellent always working.

Again, ask for help. Some problem with protobuf :DecodeError.

Hi, when I try to convert VGG_ILSVRC_16_layers_fc_reduced.caffemodel to vgg16.npz, some error occured:
on Win10 OS(Python 3.5.2, protobuf 3.2.0, chainer 1.21.0):
win_err
and on Ubuntu 14.04 (python 3.4.3, protobuf 3.1.0, chainer 1.21.0):
linux_err.Now, I can not come up with the reason, so I ask for a hand from you. Thanks in advance .

wrong box point on display

I try VGG_VOC0712Plus_SSD_512 model from here.

When I do demo.py, it displays wrong coordinates for dog.

For example:

$ ./demo.py --arch 512 VGG_VOC0712Plus_SSD_512.npz VOCdevkit/VOC2007/JPEGImages/000001.jpg

result:

2017-05-26 20 22 57

Is this expected behavior?
I use python2.7, cuda-8.0 and chainer 1.24.

Thanks in advance.

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.