Download and use of cifar dataset
git
https://github.com/tensorflow/models
Download the cifar10 file and put it in the project path
Project structure
download
from cifar10 import maybe_download_and_extract
maybe_download_and_extract()
Default download path
Read display manually
import numpy as np
import pylab
filename = '/tmp/cifar10_data/cifar-1 ...
Posted by Sonu Kapoor on Tue, 07 Jan 2020 02:13:21 +0100
An array of iOS data structures
The arrays often used in iOS development are NSArray and NSMutableArray, which are data structures provided by Foundation. Usually, NSArray and NSMutableArray are used in development to meet the development needs. With a learning attitude, Xiaobian is very interested in the implementation of the bottom layer of array data struc ...
Posted by kenshejoe on Tue, 07 Jan 2020 01:59:19 +0100
Using zuul to aggregate multiple swagger api documents of microservices into one document
First, look at the renderings:
Myc order: on behalf of order service
Myc user: on behalf of user service
Myc car: representative car service
... and so on.
Let me briefly talk about the integration steps and key points.
1. Add the following dependencies to the pom of each service.
<dependency>
<groupId>io.s ...
Posted by etully on Sun, 05 Jan 2020 04:47:00 +0100
Kubernetes/8.Pod Controller-DaemonSet
Pod Controller-DaemonSet
This chapter gives you an explanation of the second controller, DaemonSet.You'll learn what DaemonSet is, and what it's like to do with its configuration. Finally, I've come up with the proper terms for stain and tolerance, and if you already have a foundation, you can optionally go directly to that chapter (see yourse ...
Posted by buroy on Sat, 04 Jan 2020 18:27:00 +0100
Rxjava2 introduction and detailed examples
Preface
Now we can see that more and more developers are using RX related technologies to develop apps, Java backend and other fields. In open source communities and Internet companies, Rx, responsive programming, and functional are popular. Therefore, the author will write a series of articles on Rxjava2 in combination with his own learning an ...
Posted by bearqst on Sat, 04 Jan 2020 08:10:41 +0100
Secret script of iOS hybrid development and debugging (upgraded version)
Secret script of iOS hybrid development and debugging , although to a certain extent, it solves the debugging problem in the process of mixed development, but the operation is more troublesome, and it can not be directly ...
Posted by suave4u on Sat, 04 Jan 2020 06:20:53 +0100
[Xuefeng magnetic needle stone blog] data analysis tool pandas quick start tutorial 1-appetizer
brief introduction
Pandas is an open-source Python library for data analysis, and also the most important Open-Source Library for data analysis at present. It can process data similar to spreadsheets, used for fast data loading, operation, alignment, merging, etc. These enhancements are provided for Python, and the data types of pandas are: Se ...
Posted by fatmcgav on Fri, 03 Jan 2020 23:55:21 +0100
The shortest path problem: Dijkstra algorithm
Definition
The so-called shortest path problem refers to: if there may be more than one path from one vertex (source point) to another vertex (end point) in the graph, how to find a path to minimize the sum of weights (called path length) along each side of the path.
Next, we introduce two commonly used shortest path algorithms:
Dijkstra algori ...
Posted by horseatingweeds on Fri, 03 Jan 2020 15:32:21 +0100
Flip animation using the Composition API
1. Operation results
stay Use GetAlphaMask and ContainerVisual to make Long Shadow In this article, I introduced a tomato clock with long shadows. This tomato clock uses a flip picture when switching states. As shown above, it also uses a spring animation. You can see that it bounces a little after flipping.I intended to write this animation ...
Posted by rinteractive on Fri, 03 Jan 2020 10:37:43 +0100
IJKPlayer playing video
Operation effect
Supporting video:
http://toutiao.com/item/6431719005085499906/
Using steps
1. Add the following code to build.gradle of the project (as shown below)
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
2. Add dependency in the Module' ...
Posted by mkosmosports on Thu, 02 Jan 2020 11:47:58 +0100