[experience summary] for the optimization of storage form, PTA 7-3 Icelanders

7-3 Icelanders (25 points) Title Description In the 2018 World Cup, Iceland became famous because of its 1-1 draw with the powerful Argentina. Good people find that Icelanders seem to have a "son" behind their names, so some netizens popularize science as follows: Icelanders follow the old Viking patriarchal surname system. The ch ...

Posted by nickcwj on Sun, 31 Oct 2021 01:47:53 -0700

day10_ Elementary knowledge of function

Concept and definition of function What is a function? Function is to integrate a piece of code block with independent functions into a whole and name it, and call the name where needed to complete the corresponding requirements. In the development process of function, code reuse can be realized more efficiently. characteristic: In Python, ...

Posted by dagon on Sat, 30 Oct 2021 20:59:45 -0700

Introduction notes to Python deep learning: use Pandas to read batch CSV files with sequential variables in the file name

preface This article mainly shows how to import CSV files with variable names into Python, such as a series of continuously changing files, such as: r1.csvr2.csvr3.csv... I'll use a simple example to illustrate this concept and provide complete Python code. Typical application scenarios We often encounter the following scenarios: Create a ...

Posted by Zero20two on Sat, 30 Oct 2021 19:13:06 -0700

[basis of artificial intelligence] realizing fuzzy reasoning system of washing machine in python

Operating environment Pycharm + Anaconda3 A set of fuzzy sets of sludge and oil parameters and the corresponding washing time reasoning results are known. Now a group of fuzzy sets of sludge and grease are given, fuzzy reasoning is carried out, and the fuzzy set of washing time is deduced. Finally, the fuzzy decision is made to select the ...

Posted by seidel on Sat, 30 Oct 2021 11:13:23 -0700

Face feature extraction (Dlib + opencv3.4 + Python 3.8)

1, dlib library introduction and related installation 1.1 INTRODUCTION Dlib library is an open source library of machine learning, which contains many algorithms of machine learning. It is very convenient to use. It can directly include header files, and does not depend on other libraries (with its own image codec library source code). Dl ...

Posted by Mick33520 on Sat, 30 Oct 2021 04:19:59 -0700

opencv+python to identify pigs

Background: judge whether there is a pig in the vehicle in the video returned by on-board monitoring Solution: do object recognition in the returned video. If there is a pig, frame it and give a representative value day1 2021-10-27 Imagine: object recognition and frame it in the figure 1. Align the sample In the beginning, there was no con ...

Posted by stefan63 on Fri, 29 Oct 2021 20:05:49 -0700

Principle and code analysis of the strongest ViT (Vision Transformer) in the whole network

    Today, let's learn more about Vision Transformer. timm based code. 1. Patch Embedding Transformer was originally used to do NLP work, so ViT's primary task is to convert the graph into word structure. The method adopted here is to divide the picture into small blocks, as shown in the lower left corner of the above figure. Eac ...

Posted by warran on Fri, 29 Oct 2021 10:38:15 -0700

linux install anaconda3 create virtual environment tensorflow install pycharm remote connection

1. anaconda3 package download 1.1 windows Download First download through windows, and then transfer to linux server through winscp and other software Official website address: https://www.anaconda.com/products/individual Tsinghua mirror address: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ Anaconda corresponds to python vers ...

Posted by rossmurphy on Fri, 29 Oct 2021 01:42:59 -0700

Flash source code reading notes

This article is based on flash version 0.3. Let's first look at an official example: from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run() So what's going on here? Enter the source code to find out. This is the module that Flask depends on. You can see ...

Posted by vinodkalpaka on Fri, 29 Oct 2021 01:19:21 -0700

Image building without Dockerfile: BuildPack vs Dockerfile

In the past work, we have built a technical platform using microservices, containerization and service choreography. In order to improve the R & D efficiency of the development team, we also provide a CICD platform to quickly deploy the code to the Openshift (enterprise class Kubernetes) cluster. The first step of deployment is the contain ...

Posted by webbwbb on Thu, 28 Oct 2021 23:19:49 -0700