QA Official

URL encoding processing

https://qaofficial.com/post/2019/04/26/111991-url-encoding-processing.html 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

https://qaofficial.com/post/2019/04/26/70913-vgg-resnet-googlelenet-alexnet-and-other-common-network-codes-and-pre-training-models.html 2019-04-26
Common Data Sets: ImageNet http://www.image-net.org/ Microsoft's Coco http://mscoco.org/ CIFAR-10 and Cifar-100 https://www.cs.toronto.edu/~kriz/cifar.html PASCAL VOC http://host.robots.ox.ac.uk/pascal/VOC/  Overview of top-5 Error Rate of Models in ImageNet Competition: Common Pre-training Model Pool: https://github.com/BVLC/caffe/wiki/Model-Zoo AlexNet:AlexNet Code and Models (CAFFE (Convolutional Architecture for Fast Feature Embedding)) HTTPS://GitHub.com/BVLC/CAFFE (Convolutional Architecture for Fast Feature Embedding)/Tree/Master/Models/BVLC _ AlexnetFine tune AlexNet to fit any data set (Tensor Flow) https://github.com/kratzer/finetune _ Alexnet _ with _ Tensor Flow

java- Deadlock Phenomenon and Its Solution

https://qaofficial.com/post/2019/04/26/70758-java-deadlock-phenomenon-and-its-solution.html 2019-04-26
摘自:http://blog.csdn.net/joejames/article/details/37960873 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

https://qaofficial.com/post/2019/04/26/70776-python-script-to-complete-the-input-file-generation-of-mulan-project.html 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

https://qaofficial.com/post/2019/04/26/70799-sklearn-support-vector-machine-practice-summary.html 2019-04-26
Transferred from http://www.cnblogs.com/pinard/p/6117515.html 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

https://qaofficial.com/post/2019/04/26/70907-vgg-16-code-implementation.html 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

https://qaofficial.com/post/2019/04/26/70877-analysis-of-advantages-and-disadvantages-of-xgboosting.html 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

https://qaofficial.com/post/2019/04/26/70869-basis-of-machine-learning-45-simulated-annealing.html 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

https://qaofficial.com/post/2019/04/26/70922-caffe-convolutional-architecture-for-fast-feature-embedding-learning-notes-21-vggnet-paper-notes.html 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.

https://qaofficial.com/post/2019/04/26/70887-caffe-convolutional-architecture-for-fast-feature-embedding-did-the-preliminary-study-of-classification-and-encountered-some-pits..html 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.