QA Official

URL encoding processing 2019-04-26
1. In mobile development, we will encounter situations where a web address can be loaded on a browser, but cannot be loaded on an App, or the web address cannot be parsed, etc.This kind of situation is mostly caused by the fact that the website contains very vulgar characters, including Chinese characters.There are many ways to deal with this kind of reason, and the Internet is full of them.However, with

VGG, ResNet, GoogleLeNet, AlexNet and other common network codes and pre-training models 2019-04-26
Common Data Sets: ImageNet Microsoft's Coco CIFAR-10 and Cifar-100 PASCAL VOC  Overview of top-5 Error Rate of Models in ImageNet Competition: Common Pre-training Model Pool: AlexNet:AlexNet Code and Models (CAFFE (Convolutional Architecture for Fast Feature Embedding)) HTTPS:// (Convolutional Architecture for Fast Feature Embedding)/Tree/Master/Models/BVLC _ AlexnetFine tune AlexNet to fit any data set (Tensor Flow) _ Alexnet _ with _ Tensor Flow

java- Deadlock Phenomenon and Its Solution 2019-04-26
摘自: The so-called deadlock refers to a mutual waiting phenomenon caused by two or

python script to complete the input file generation of mulan project 2019-04-26
This script is written by me to complete specific tasks, which can improve my scientific research efficiency. If you are a python language lover or a graduate student of multi-label classification, you will get some enlightenment.But to tell the truth, this task is too specific and not universal. If there is no specific correct format document, it is even difficult to run through, so don't have too much hope. If

sklearn support vector machine practice summary 2019-04-26
Transferred from Before, I made a summary of the principle of support vector machine (hereinafter referred to as SVM) algorithm through a series. This paper makes a summary of the use of scikit-learn SVM algorithm library from the perspective of practice.Scikit-learn SVM algorithm library encapsulates the implementation of libsvm and liblinear, and only rewrites the interface part of the algorithm. 1. overview of using scikit-learnsvm algorithm library the algorithm

vgg-16 Code Implementation 2019-04-26
import tensorflow as tf import numpy as np from scipy.misc import imread, imresize from imagenet_classes import class_names class vgg16: def __init__(self, imgs, weights=None, sess=None): self.imgs = imgs self.convlayers() self.fc_layers() self.probs = tf.nn.softmax(self.fc3l) if weights is not None and sess is not None: self.load_weights(weights, sess) def convlayers(self): self.parameters = [] # zero-mean input with tf.name_scope('preprocess') as scope: mean = tf.constant([123.68, 116.779, 103.939], dtype=tf.float32, shape=[1, 1, 1, 3], name='img_mean') images = self.imgs-mean

Analysis of Advantages and Disadvantages of xgBoosting 2019-04-26
Boosting is a commonly used statistical learning method. in the training process, multiple classifiers are learned by changing the weight of training samples, and the optimal classifier is finally obtained.At the end of each round of training, reduce the weight of correctly classified training samples and increase the weight of incorrectly classified samples. After several rounds of training, some incorrectly classified training samples will receive more attention, while the weight of correctly classified training samples approaches zero, thus obtaining a plurality of simple classifiers.

Basis of Machine Learning (45)-Simulated Annealing 2019-04-26
Simulated Annealing Algorithm is an optimization algorithm inspired by physics.The so-called annealing refers to the process of heating the alloy and then slowly cooling it.A large number of atoms jump around due to excitation, and then gradually stabilize to a state of low energy level, so these atoms can find a configuration of low energy level. annealing algorithm starts with a random solution of a problem.It uses a variable to

CAFFE (Convolutional Architecture for Fast Feature Embedding) Learning Notes 21-VggNet Paper Notes 2019-04-26
AlexNet 输入要求256(图像大小),均值是256的,减均值后再crop到227(输入图像大小) VGGNet 输入要求256(图像大小),均值是256的,减均值

CAFFE (Convolutional Architecture for Fast Feature Embedding) did the preliminary study of classification and encountered some pits. 2019-04-26
1. Installation For installing CAFFE (Convolutional Architecture for Fast Feature Embedding) under mac, please refer to the previous wiki (installing CAFFE (Convolutional Architecture for Fast Feature Embedding) under Mac), of course, if you encounter other problems, please google yourself. For various linux systems, there are already many online tutorials. 2. Brief Introduction of CAFFE (Convolutional Architecture for Fast Feature Embedding) Code and Architecture Hierarchy CAFFE (Convolutional Architecture for Fast Feature Embedding) source code is Cpp language, based on some external libraries, including BLAS (Matrix Computing), CUDA(GPU Driver), GFLAGS, GLOG, Boost, Protobuf, HD F5, Leveldb, LMDB, etc.