Giter Site home page Giter Site logo

Comments (9)

sounansu avatar sounansu commented on August 23, 2024

I download 'LISA Traffic Sign Dataset'.
But I can not find signnames.csv in that.

from ssd_tensorflow_traffic_sign_detection.

georgesung avatar georgesung commented on August 23, 2024

Thanks for the catch, I forgot to include signnames.csv in this repo. I have just added it. It is basically a hand-generated file (or can be generated with simple script) that maps sign integer ID to sign name string, but reserving ID 0 for background (no need to explicitly map 0->background though). Let me know if inference.py works now. Thanks.

from ssd_tensorflow_traffic_sign_detection.

sounansu avatar sounansu commented on August 23, 2024

Thanks, you added signnames.csv file.
I can run "inference.py -m demo". It is very nice!.
But my GPU card is poor, so tensorflow says 'Ran out of memory trying to allocate 2.14GiB.'.

ssd-caffe (by Weiliu) could not train on my system. ( Out of memory?).
mxnet-ssd( by Zhreshold) could but training time is very huge on my system ( Poor GPU?).
ssd_keras(by rykov8) could not train for lost training data set(framexxx.png).

After I will try training to use your system.

Thank you for sharing your software!

from ssd_tensorflow_traffic_sign_detection.

georgesung avatar georgesung commented on August 23, 2024

Cool, sounds good! I haven't documented the data pre-processing steps, so you might have to look through the code to figure it out :S But my base network is AlexNet so training should not take so much resources compared to the original VGG16 base network. Also if you run out of memory a work-around is to reduce your batch size.

from ssd_tensorflow_traffic_sign_detection.

sounansu avatar sounansu commented on August 23, 2024

Very very thanks!
I try to run inference.py not only png files but also mp4 moview files.
It works fine!

So, now I tried to run data_prep.py for training.
I think it make pickle data for train.py

But, this python program need pickle data too. It it true?

if __name__ == '__main__':
        with open('data_raw_%sx%s.p' % (IMG_W, IMG_H), 'rb') as f:
                data_raw = pickle.load(f)

        print('Preparing data (i.e. matching boxes)')
        data_prep = do_data_prep(data_raw)

        with open('data_prep_%sx%s.p' % (IMG_W, IMG_H), 'wb') as f:
                pickle.dump(data_prep, f)

        print('Done. Saved prepared data to data_prep_%sx%s.p' % (IMG_W, IMG_H))
        print('Total images with >=1 matching box: %d' % len(data_prep.keys()))

I think this code need data_raw_400x260.p file.

(....I wonder it was generated by AlexNet traing time?)

from ssd_tensorflow_traffic_sign_detection.

georgesung avatar georgesung commented on August 23, 2024

Yup, I haven't documented that part in detail, I'll work on the documentation this weekend~

from ssd_tensorflow_traffic_sign_detection.

sounansu avatar sounansu commented on August 23, 2024

Oh!. don't worry!
My ubuntu PC 's tensorflow environment is broken and needs to be repaired.

So, if only inference can be on my windows PC.

And, thank you for your quick response!

from ssd_tensorflow_traffic_sign_detection.

georgesung avatar georgesung commented on August 23, 2024

I added some instructions to the README, about how to train from scratch. Let me know if that helps!

from ssd_tensorflow_traffic_sign_detection.

sounansu avatar sounansu commented on August 23, 2024

Thank you.
But, my tensorflow environment is not good....
And Google Release tensorflow version 1.0.

Your inference.py is not work under my environment now.(Last week, it worked last week..)
So, I revise the environment of tensorflow to 0.12 and try your training python script.

Regards,

from ssd_tensorflow_traffic_sign_detection.

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.