Giter VIP home page Giter VIP logo

eventrecognitioncnn's Introduction

Local scene-recognition model training

Train GoogleNet InceptionV3 model

https://arxiv.org/abs/1512.00567

python local_cnn_train.py --cnn_model=inception --data_directory=places205-subset27 --batch_size=16 --img_size=224 --first_training_epochs=10 --second_training_epochs=20

Train DenseNet121 model

https://arxiv.org/abs/1608.06993

python local_cnn_train.py --cnn_model=densenet --data_directory=places205-subset27 --batch_size=16 --img_size=224 --first_training_epochs=10 --second_training_epochs=20

Google Cloud Training

gcloud ml-engine jobs submit training $JOB_ID --job-dir gs://licenta-storage/jobs/$JOB_ID --module-name cloud-trainer.train --package-path ./cloud-trainer --region us-east1 --config=trainer/cloudml_gpu.yaml -- --data_bucket gs://licenta-storage/ --data_file places-dataset.h5

Local event-recognition model training

python oc-cnn_local_train.py --data_directory=./newWIDER --context_model_file=../context-recognition/densenet121-model.h5 --training_epochs=20

Google Cloud Training

gcloud ml-engine jobs submit training job0_12 --job-dir gs://licenta-storage/jobs-events/job0_12 --module-name cloud-trainer.train --package-path ./cloud-trainer --region us-east1 --config=cloud-trainer/cloudml_gpu.yaml -- --data_bucket gs://licenta-storage/ --data_file wider-dataset.h5 --context_model_file densenet121-model.h5

Local event-recognition model serving

python run_keras_server.py --pretrained_model=../local-activity-recognition-model.h5

Setup: $ pip install -U flask-cors

eventrecognitioncnn's People

Contributors

ciprianfocsaneanu avatar

Watchers

James Cloos avatar

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.