Questions tagged [serving]

93 questions
0
votes
0 answers

Serving Tensorflow model for production

I am using a tensorflow estimator model for multi-label text classification. After having the prediction, I need to serve the model for prediction, but I am not getting the correct path. eval_input_fn = tf.estimator.inputs.numpy_input_fn( …
0
votes
2 answers

Tensorflow serving: Unable to base64 decode

I use the slim package resnet_v2_152 to train a classification model. Then it is exported to .pb file to provide a service. Because the input is image, so it would be encoded with web-safe base64 encoding. It looks like: serialized_tf_example =…
JavaFresher
  • 81
  • 1
  • 9
0
votes
1 answer

Best practice for serving static files

I am developing on a python webserver (Tornado). I plan to place this in a production instance with nginx in front. This will be my first time placing something into a production environment on my own. My question is how to setup files/directories…
vikash dat
  • 1,494
  • 2
  • 19
  • 37
0
votes
1 answer

How inference an inception pb model by restful API with tensorflow serving?

I have got an incepiton pb Model by github:"serving/tensorflow_serving/example/inception_saved_model.py".I want to got predict by restful API ,but found an error message.I want to know the argument "images" that how to do or what is correctly…
0
votes
0 answers

Combining user specific TensorFlow models into one, based on the userId

Seeking advice on how to approach a situation where we have to train the same simple model (not NNs) for each individual user and their content which must remain private - this means I would theoretically have 150k different models to deploy/operate…
Code Monkey
  • 1,785
  • 11
  • 13
0
votes
2 answers

Express Serving a Static File: Server and Client in Different Locations

I'm trying to get my express to serve up static files that are in another location: This is the current directory I have: |__client | |__thumbnails.html | |__server |__app.js I tried to just use app.use(express.static(path.join(__dirname,…
Makan Azarshahy
  • 143
  • 2
  • 9
0
votes
1 answer

Rewriting mnist client to c++ (arg[0] is not a matrix)

I am trying to rewrite the python code for mnist_client to c++. Since I am new to tensorflow and TF serving I am having some difficulties. I went through the tutorials and the c++ client example (inception_client). Python mnist_client works without…
Maja
  • 61
  • 9
0
votes
1 answer

How to serve Files in a Directory from App Engine Standard Python Environment

For a project, our team is using the app engine python environment to host several scripts that are scraping a website to store data in the form of various json files and directories of images. We want to expose these directories to a url (Ex:…
AiahKnead
  • 23
  • 2
0
votes
1 answer

TensorFlow Server close the connection within client timeout

We have used TensorFlow Serving to load the model and implement the Java gRPC client. Normal it works for small data. But if we request with larger batch size and data is almost 1~2M, the server closes the connection and throw the internal error…
tobe
  • 1,671
  • 2
  • 23
  • 38
0
votes
1 answer

How to set up apache to serve dynamic html? Same url for different devices

I want to set up dynamic html serving on my apache server. It means that for different types of devices (mobile, tablet, desktop) content should be different, while url stays the same. For example: From desktop www.example.com/index.html Completely…
zofia
  • 23
  • 5
0
votes
2 answers

Upgrading Saxon in ServingXML results in "XML Parser does not recognize the feature http://xml.org/sax/features/validation"

I use ServingXML (1.1.2) for various plain-XML transformations. I need to upgrade the Saxon lib used by ServingXML to up to date Saxon 9.6 line (currently Saxon-HE 9.6.0.6J). Reason for this is: I'm forced to use the recent Saxon line and I use…
Yuri
  • 4,254
  • 1
  • 29
  • 46
0
votes
1 answer

Google App Engine : Wrong Serving Url

I have created a Google App Engine project where it's possible to upload photos. Uploading part is working fine and all the photos are uploaded in proper size. But when I try getting images.get_serving_url , it returns me serving_url appended with…
0
votes
3 answers

django file serving issues

I have in my url patterns, urlpatterns += patterns('', (r'^(?P.*)$', 'django.views.static.serve', {'document_root': '/home/tipu/Dropbox/dev/workspace/search/images'}) In my template when I do
tipu
  • 9,464
  • 15
  • 65
  • 98
0
votes
1 answer

Putting HTML online using Xampp

I have created a website in HTML. And I use LAN in my hostel. Currently I am using xampp to run the site on localhost.Now I want to put my website online so that other guys using the hostel LAN could access it. How should I do it?
Akash Verma
  • 638
  • 1
  • 11
  • 15
0
votes
4 answers

Django 1.7 - Serving static files

I'm following the official documentation in order to serve static files but I'm recieving error 404 in the development console. I'm using 'django.contrib.staticfiles', so static files should be automatically served. This is my setup: Settings:…
Adrian Lopez
  • 2,601
  • 5
  • 31
  • 48