Giter Site home page Giter Site logo

keras-multiple-process-prediction's Introduction

keras-multiple-process-prediction's People

Contributors

keineahnung2345 avatar yli150 avatar yuanyuanli85 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  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

keras-multiple-process-prediction's Issues

Model Inference on Video

What is needed to be change if I want to do model inference on a video file instead of images? I am using cv2.videoCapture(video_path) for reading the video, then I throw a while loop when the cap is opened. Do I still need queue the image from cap.read() function or anything else to be done?? Also, I know that I have to change start function, but I dont know exactly what I should do. Thanks in advance.

Training

How would you write a function to do Training instead of predictions?

Load model multiple times

Hi guys.
I really appreciate your project. It helps me a lot.
But I have a problem here. In my case, my img_path folder changes all the time.
Take example, at first I load all the images in that folder to predict using your code.
During predicting time, more and more images update to that folder and I have to predict again after finish the previous step.
So the problem is that I have to load model again after finish 1 step. Is there any way to load model only one times ?
Thank you in advance

Get result for all the files

Hello,

Thanks for the project, I tried to implement in my project and it works but one issue I am facing and its very silly.

how do I get the output for all the images present in imagepath from vgg16_worker to main program after worker.join? I tried a couple of options I mean creating a result_queue and put the outputs there but the queue is having result of the only one image.

CUDA_ERROR_NOT_INITIALIZED

I follow the code and implement my own. When I call keras.models.load_model() in the child process, I got the following errors:

E tensorflow/stream_executor/cuda/cuda_driver.cc:1287] could not retrieve CUDA device count: CUDA_ERROR_NOT_INITIALIZED
F tensorflow/stream_executor/cuda/cuda_driver.cc:312] Check failed: CUDA_SUCCESS == cuCtxSetCurrent(cuda_context->context()) (0 vs. 3)

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.