To use TensorFlow serving, I had to use docker.
I downloaded the TensorFlow image using
JavaScript
x
2
1
docker pull tensorflow/serving
2
After that, I had to start tf serving and map my directories.
JavaScript
1
2
1
$ docker run -it -v D:softwaressoftware saved fileGITHUBpotato-diseasePlant-disease-classification-using-Convolution-Neural-Networks:/tf_serving -p 8605:8605 --entrypoint /bin/bash tensorflow/serving
2
As a result I have an error :-
JavaScript
1
4
1
Unable to find image 'saved:latest' locally
2
docker: Error response from daemon: pull access denied for saved, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
3
See 'docker run --help'.
4
Advertisement
Answer
The volume path contained spaces, putting “” around the path could solve the error
In this case, I changed the name of the directory.
Answered by @ai2ys