This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: "data" | |
input_shape { | |
dim: 1 | |
dim: 1 | |
dim: 224 | |
dim: 224 | |
} | |
layer { | |
name: "conv1/7x7_s2" | |
type: "Convolution" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## Import Libraries ################## | |
import os.path | |
from bottle import route, run, response, static_file, request, error, Bottle, template | |
from json import dumps, loads, load | |
################## WebService Route / ################## | |
class API: | |
def __init__(self, port, local): | |
self._app = Bottle() | |
self._route() # During initialisation we launch the _route() method to register the routes enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### Import Libraries ####################### | |
import os.path | |
from bottle import route, run, response, static_file, request, error, Bottle, template | |
from json import dumps, loads, load | |
####################### WebService Route / ####################### | |
class API: | |
def __init__(self, port, local): | |
self._app = Bottle() | |
self._local = local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ############### Config File ################ --> | |
<config> | |
<APIserver serverName="serverAPI" local="false" ip="127.0.0.1" port="8080"/> | |
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ Import Libraries ################ | |
import os.path | |
import xml.etree.ElementTree as XML | |
def loadAPIConf(confPath = 'conf.xml'): | |
configurations = XML.parse(confPath).getroot() | |
servers = dict() | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################ Import Libraries ################ | |
import os.path | |
import sys | |
from loadConf import loadAPIConf #We load the function created in the file : loadConf.py | |
import api #Don't worry about this line yet | |
#################################################################### | |
configAPI = loadAPIConf() #We launch the function created in the file : loadConf.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title> | |
</title> | |
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> | |
<style class="custom-css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## Import Libraries ################## | |
import os.path | |
from bottle import route, run, response, static_file, request, error, Bottle, template | |
from json import dumps, loads, load | |
################## WebService Route / ################## | |
class API: | |
def __init__(self, port, local): | |
self._app = Bottle() | |
self._route() # During initialisation we launch the _route() method to register the routes enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP SCHEMA public CASCADE; | |
CREATE SCHEMA public; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN | |
EXECUTE IMMEDIATE 'DROP TABLE table_name'; | |
EXCEPTION | |
WHEN OTHERS THEN NULL; | |
END; | |
/ |
OlderNewer