Questions tagged [serving]

93 questions
1
vote
1 answer

Dropwizard: Unable to serve static HTML

I'm currently working on serving a static html page in Dropwizard at the root path "/". So far, I've only received an error page stating "HTTP ERROR 404 Problem accessing /. Reason: Not Found". I've followed the Dropwizard documentation for 1.2.2…
SVill
  • 331
  • 5
  • 22
  • 55
1
vote
2 answers

Tensor not found with empty name, when serving the model

System information Linux Ubuntu 16.04: TensorFlow Serving installed from pip (1.10.1): TensorFlow Serving version 1.10.1: Describe the problem I found a wired error message when serving my own model, I have tested the .pb file with…
昊天滕
  • 86
  • 5
1
vote
0 answers

how to install tensorflow serving offline

My server is in my company network which disconnected to the internet. I can only downloads the required files in other office computer and upload them. I git clone git clone --recurse-submodules https://github.com/tensorflow/serving cd serving…
gumpcheng
  • 11
  • 1
1
vote
1 answer

Nginx 403 error for single file while others work

I have a simple Flask/Nginx server and 3 files in location /opt/hosting/files: [adam@localhost]$ namei -om /opt/hosting/files f: /opt/hosting/files dr-xr-xr-x root root / drwxr-xr-x root root opt drwxr-xr-x root root …
adamczi
  • 343
  • 1
  • 7
  • 24
1
vote
0 answers

How to enable REST api calling into Tensorflow's Syntaxnet

I have installed Tensorflow on Ubuntu linux machine. Followed the following link to install syntax net. https://github.com/tensorflow/models/tree/master/syntaxnet Successfully able to parse a sentence using Syntaxnet using following command. echo…
amadamala
  • 323
  • 1
  • 4
  • 18
1
vote
1 answer

Is it possible to have an alias for a Tensorflow node?

I have a complex net for which I have created a very simple class for inferencing the model once it is serialised into a frozen graph file. The thing is that in this file I need to load the variable with his namespace which may end up depending on…
adam13
  • 91
  • 4
1
vote
0 answers

Google cloud image serving URL issue

I don't know if anyone already ran into this. We are using Google Cloud Storage to use user uploaded images from our app. We generate the serving URL like this: $imgURL = CloudStorageTools::getImageServingUrl($bucketPath . $fileName, array("size" =>…
1
vote
1 answer

PHP to serve download for a Java application

I am wondering how to make a download server more robust. For now, I have a server, on https, storing zip files, named with a random hash, indexed by my database. The directory containing does not permit listing (htaccess) to avoid manual download…
Psychokiller1888
  • 620
  • 2
  • 10
  • 25
1
vote
1 answer

How to make a request to a node.js app from another website?

I've been trying to understand how Node.js works in different scenarios. I'm getting a bit hung up on a certain area. As I understand it, Node is very suitable to tasks such as ad serving. In a scenario, similar to google ads, how would the code…
jordan
  • 9,570
  • 9
  • 43
  • 78
1
vote
1 answer

How to dynamically re-serve content based on browser width?

I'm setting up a wordpress website right now and I'd like to make 2 separate do_shortcode("[]")s based on how wide the browser is, and have the content refresh and change if the browser width is changed. Is there any way to do this? My…
mcheah
  • 1,209
  • 11
  • 28
1
vote
1 answer

serving static file not from /static in webpy

Is there a way of serving static files (images) not from the /static folder in webpy? What I would like to do is show images that are scattered in various directories, and moving all of them to /static is really not an option. If it is not feasible…
v923z
  • 1,237
  • 5
  • 15
  • 25
1
vote
2 answers

Byte Serving PDFs from SQL varbinary

I am want to take advantage of the web optimization for pdfs by allowing users to download them a page at a time. The pdfs are configured for fast web view. I am serving the pdfs from sql server 2008. The c# .net 3.5 web app untilises linq to SQL…
Mick
  • 21
  • 4
0
votes
0 answers

how to serve static files and media files in c panel for django project?

In local django port my media and static files are running but in c panel my css, js, img and other files are not working how to serve this files when comes to c panel hosting provider? only html is shown in web page and other css, js and other…
Gowri
  • 1
0
votes
0 answers

Is there a design pattern to serve data/files from a hierarchical menu so that data may exist in multiple menus without duplicating data?

I'm having difficulty searching for what I'm asking and haven't found anything satisfactory. I want to build a simple 2-3 menu system. In the lowest level menu, each menu should have several pieces of data of files. This may be an SQL record, an…
0
votes
0 answers

Nginx Caching Content Config

I have to serve .mp4 files through Nginx on a portable Jetson machine. .mp4 files are fragmented MP4 that grow over time (recordings). I would like to be able to serve them with byte-range download and optimal caching (I found that slice-by-slice…
worz
  • 1
  • 1