I hereby claim:
- I am erfannoury on github.
- I am erfannoury (https://keybase.io/erfannoury) on keybase.
- I have a public key ASCKXggm4Gc_7T02Ppi_C3GvLjYySWpGLjDa7ZtaWcHUSwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| from __future__ import print_function, division | |
| try: | |
| import Queue | |
| except ImportError: | |
| import queue as Queue | |
| import threading | |
| import time | |
| import numpy as np | |
| class IteratorThread(threading.Thread): |
Title : Your Name Heading Base : 2
[TITLE]
~ Center [Sharif University of Technology
Tehran, Iran ]{ font-size=x-large }
| def rank_fn(): | |
| inp = net['input'].input_var | |
| outp = lasagne.layers.get_output(net['rank'], deterministic=True) | |
| return theano.function([inp], outp) | |
| def sorted_by_attr(images, base_path, rank_fun): | |
| results = [] | |
| for im in images: | |
| im_path = os.path.join(base_path, im) | |
| _, a = prepare_image(im_path) |
| import poser | |
| import string | |
| import os | |
| scene = poser.Scene() | |
| scene.CurrentFireFlyOptions().SetShadows(0) | |
| scene.LoadLibraryCamera('C:/Users/Public/Documents/Poser Pro 2014 Content/Runtime/Libraries/Camera/cameras.cm2') | |
| rootDir = 'G:/University Central/IPLab/Datasets/Final Mocap Files/02/02_02/' | |
| format = '.png' | |
| numFrames = scene.NumFrames() |
| --DROP TABLE Shopping_Group.dbo.EMPLOYEE, Shopping_Group.dbo.GDOWNER; | |
| CREATE TABLE EMPLOYEE (EID int PRIMARY KEY, NAME char(30), STTIME time, ENDTIME time, ETYPE char(10)); | |
| CREATE TABLE GDOWNER (OID int PRIMARY KEY); | |
| CREATE TABLE SHOP (SHID int PRIMARY KEY, NAME char(20), ADDR char(50), SIZE int, TEL char(12), OID int NULL REFERENCES GDOWNER(OID)); | |
| CREATE TABLE WAREHOUSE (WID int PRIMARY KEY, ADDR char(50), TEL char(12)); | |
| CREATE TABLE CUSTOMER (CID int PRIMARY KEY, TEL char(12)); | |
| CREATE TABLE STOREKEEPING (WID int NOT NULL REFERENCES WAREHOUSE(WID), EID int NOT NULL REFERENCES EMPLOYEE(EID), BEGINDATE date, ENDDATE date, | |
| CONSTRAINT PK_STOREKEEPING_WID_EID PRIMARY KEY(WID, EID) | |
| ); | |
| CREATE TABLE SALERECEIPT (RECID int PRIMARY KEY, EID int NOT NULL REFERENCES EMPLOYEE(EID), CID int NOT NULL REFERENCES CUSTOMER(CID), SDATE date); |
| {% extends "base.html" %} | |
| {% block content %} | |
| <div class="container"> | |
| {% for i in range(5) %} | |
| <h1>{{ query }}<h1> | |
| {% endfor %} | |
| </div> <!-- /container --> |
| {% extends "base.html" %} | |
| {% block content %} | |
| <div class="container"> | |
| <div class="modal-body"> | |
| <form id="signupForm" role="form"> | |
| <input type="hidden" id="theme" name="theme" value="{{theme}}"/> | |
| <div class="form-group"> | |
| <label for="query">Query</label> |
| # Copyright 2013. Amazon Web Services, Inc. All Rights Reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| @application.route('/result', methods=['POST']) | |
| def signup(): | |
| print '--------- post method ---------------' | |
| # for item in request.form: | |
| # print request.form[item] | |
| print 'query: ', request.form["query"] | |
| # signup_data = dict() | |
| # for item in request.form: |