Closed mkh-github closed 7 years ago
Hello @mkh-github,
Can you try removing --default-stream per-thread
in the Dockerfile?
https://github.com/NVIDIA/gpu-rest-engine/blob/master/Dockerfile.caffe_server#L40
https://github.com/NVIDIA/gpu-rest-engine/blob/master/Dockerfile.caffe_server#L52
Some users have reported the same issue and doing the fix above helped, but I've never been able to reproduce it. If it solves your problem, I will edit the Dockerfile.
@flx42 I'll try that.
@flx42 - your solution fixed my problem. Thanks for the quick response!
Ok, I've submitted the patch upstream. Thanks!
I'm using GRE with my own googlenet model - finetuned for my own classes. When I run a set of images using CURL commands, I get correct results the first time, but then after that I get different results, and mostly incorrect labels. Any ideas on what is going on? Also, sometimes after stop and start caffe-server I don't get the correct result for the images. I can also run CURL command for a single image and get different results. Any idea how I can debug this?
This is what I did
build docker image after updating Docker.caffe_server final CMD to point caffe-server to my deploy/caffemodel/labels
start caffe-server in docker
create bash script to run multiple curl commands
Run a set of images through. These are correct results -- the Top-1 classification is the correct classification.