cnn_optim_beta | 0.999 | cnn_model | model/VGG16_iter_50000.caffemodel |
---|---|---|---|
finetune_cnn_after | -1 | drop_prob_lm | 0.5 |
batch_size | 32 | grad_clip | 5 |
val_images_use | 500 | cnn_weight_decay | 0 |
optim_epsilon | 1.00E-08 | input_json | data/reidtalk.json |
input_encoding_size | 512 | num_layers | 1 |
losses_log_every | 25 | cnn_proto | model/VGG_ILSVRC_16_layers_deploy.prototxt |
This file contains hidden or 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
#include <rockx/rockx.h> | |
#include <opencv2/opencv.hpp> | |
#include <functional> | |
#include <cstring> | |
namespace rockx { | |
enum class RockxModule { | |
OBJECT_DETECTION = ROCKX_MODULE_OBJECT_DETECTION, | |
OBJECT_TRACK = ROCKX_MODULE_OBJECT_TRACK, |
This file contains hidden or 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
#include <cstdio> | |
#include <cstdlib> | |
#include <bitset> | |
#include <iostream> | |
#include <iterator> | |
#include <cassert> | |
class custom_bitset | |
{ |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
#ifndef MYFIBER_${TM_FILENAME/(\w+)\.h/(?1\U$1)/g} | |
#define MYFIBER_${TM_FILENAME/(\w+)\.h/(?1\U$1)/g} | |
#endif | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>hello</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> |
This file contains hidden or 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
#!/bin/bash | |
graph=" --graph="$1 | |
if [ "$2" = "sync" ] | |
then | |
engine=" --engine=sync" | |
else | |
engine=" --engine=async --engine_opts endgame=true" | |
fi | |
if [ -z "$3" ]; | |
then |
This file contains hidden or 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 functools | |
def log(func): | |
@functools.wraps(func) | |
def wrapper(*args): | |
print(u"request body: {}".format(args[0])) | |
response = func(*args) | |
print u"response body: {}".format(response) | |
return response |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# 14-9-20 | |
# create by: snower | |
import linecache | |
import sys | |
import types | |
__all__ = ['extract_stack', 'extract_tb', 'format_exception', | |
'format_exception_only', 'format_list', 'format_stack', |
This file contains hidden or 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
#!/bin/bash | |
#设置终端目录变量 | |
#usage | |
#$`kvset nglog /var/log/nginx` | |
#$cd $nglog | |
#$pwd | |
#$/var/log/nginx | |
if [ $# -eq 0 ] | |
then | |
#echo "No arguments supplied" |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
/* | |
g++ filename.cpp -std=c++11 | |
./a.out | |
display MathPic.ppm | |
http://blog.csdn.net/xshbx/article/details/45245389 | |
http://www.matrix67.com/blog/archives/6039 | |
*/ | |
#include <iostream> | |
#include <cmath> |
NewerOlder