QA Official

4 How should I choose to move bricks and hug you? 2019-04-08
"I don't wear a gold hoop, can't save her, wearing a gold hoop, can't love her.Ten thousand years is too long, seize every minute and walk all the way, only to find that nothing is immortal.We finally understand that once those who were one step away from us, once they missed it, even if they became The Greatest Hero In The World, dressed in golden clothes and armor, and stepped on colorful auspicious clouds, they would not necessarily come back.

C Language Trap-Misuse of Pointers 2019-04-08
Introduction In C language learning, the biggest difficulty is to understand and use pointers.Pointers are closely related to memory, so in order to understand the usage of pointers, you must also know the memory layout of the platform system. You can at least distinguish between heap and stack (of course, the stack here is not the stack referred to in the data structure).Pointer is like a double-edged sword. If you

C Language: The Frog Jumped Step Problem 2019-04-08
Topic: (1) A frog can jump up one step or two at a time.Find out how many jumping methods the frog can use to jump up an n-step. analysis: when n = 1, there is only one jump method;When n = 2, there are two jump methods;When n = 3, there are 3 jumping methods;When n = 4, there are 5 jumping methods;When n = 5, there are 8 kinds

C. Birthday 2019-04-08
C. Birthday Cowboy Vlad has a birthday today!There are n children who came to the celebration. In order to greet Vlad, the children decided to form a circle around him. Among the children who came, there are both tall and low, so if they stand in a circle arbitrarily, it may turn out, that there is a tall and low child standing next to each other, and it will be

Github Common Commands 2019-04-08
1. Basic git Command view branch: git branch create branch: git branch <name > switch branch: git checkout <name > create+switch branch: git checkout -b <name > merge a branch to the current branch: git merge <name > delete branch: git branch -d <name > gitadd < ... >//add files gitcommit-m "message"//message explains the information for this change. gitpush originmaster//push onto your github, then pull request can be made.

ImageNet Training Complete Process 2019-04-08
Download Data training set (138G) validation set (6.3G-50000 sheets) train_label.txt validation_label.txt p.s with thunderbolt is quite fast, 3 days Data Decompression tar xvf ILSVRC2012_img_train.tar -C ./train tar xvf ILSVRC2012_img_val.tar -C ./val For train dataset, after decompression, there are 1000 tar files, which need to be decompressed again. The decompression script is as follows dir=/data/srd/data/Image/ImageNet/train for x in `ls $dir/*tar` do filename=`basename $x .tar` mkdir $dir/$filename tar -xvf $x -C $dir/$filename done rm *.

Python Implements Fibonacci number and Step Jump Variants 2019-04-08
This article records Fibonacci number's Python implementation: recursion and loop solutions, as well as some useful topics. Python Implementation recursion according to the traditional recursive way, concise and elegant.But it is written out as an algorithm of o (N2) o (n 2) o (N2) def fibo(n): """肥波那契函数""" if n < 3: return 1 else: return fibo(n-1) + fibo(n-2) O(n)O(n)O(n)

TensorFlow Learning (8)-Use of Dropout 2019-04-08
import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # 第一步、载入训练数据 mnist = input_data.read_data_sets(train_dir="../MNIST_data", one_hot=True) # 设置批次大小 batch_size = 10 # 可以优化的地方,修改批次的数量 # 计算一共有多少个批次 n_batch = mnist.train.num_examples # 第二步、定义

VLAD Learning Summary and python Implementation 2019-04-08
work needs, studied some very classic image retrieval algorithms, recorded one by one, to facilitate their review and communication. This blog post is about VLAD (Vector of Locally Aggregated Descriptors), that is, the vector of aggregated local descriptors. It is a process of using local descriptors of images such as SIFT, SURF, ORB, etc. to do some aggregation operations, and then using a long vector to represent an image.Representation of images into vectors is a prerequisite for image retrieval.

java Abnormal Jump Steps (Thinking and Implementation) 2019-04-08
topic descriptionOn this topic, the premise is that n steps will have an n-order jump method.The analysis is as follows: f (1) = 1f (2) = f (2-1)+f (2-2)//f (2-2) represents the number of times that the 2nd order jumps the 2nd order at a time. f(3) = f(3-1) + f(3-2) + f(3-3) ... f(n) = f(n-1) + f(n-2) + f(n-3) + ... + f(n-(n-1)) + f(n-n) Description: 1)