## python 8_ Deep and shallow copies

1. Reference of value # 1. Reference of value nums1 = [1, 2, 3] nums2 = nums1 print(id(nums1), id(nums2)) # Same address space, 2044032004608 2044032004608 nums1.append(4) print(nums2) # [1, 2, 3, 4] # Nums1 and nums2 point to the same memory space, #Therefore, when nums1 is modified, nums2 will also be modified 2. Immutable data ty ...

Posted on Sat, 04 Dec 2021 15:08:41 -0500 by Soumen

## 7. Use Skills of BatchNormalization

@ Previous 1. Install Tensorflow2.x (2.6) under Windows 2. Deep learning - reading data 3. Tensorflow Image Processing Budget 4. Tenorflow implementation of linear regression model 5. Deep Learning-Logistic Regression Model 6. AlexNet Implements Chinese Font Recognition--Bibliography and Rule Letters 7. Classification of Bird Database by VGG1 ...

Posted on Sat, 04 Dec 2021 12:55:16 -0500 by ivory_kitten

## Python Cartoonizes Photos, Breaking the Secondary Wall with a Fist|Machine Learning

Catalog Preface Project structure Core Code summary Preface Next to my last article on the use of open source machine learning: How to turn photos into cartoons, animegan2-pytorch Machine Learning Project Use | Machine Learning_ Alan's Blog - CSDN Blog I'll continue to do a little bit of magic with the project and still turn it into a ...

Posted on Sat, 04 Dec 2021 12:30:53 -0500 by Superian

## Weekend homework - circular exercises

1. Judge how many primes there are between 101-200, and output all primes. count = 0 print('101-200 There are prime numbers between') for num in range(101, 201): for x in range(2, int(num**0.5 + 1)): if num % x == 0: break else: print(num, end=' ') count += 1 print() print('share', count, 'individual ...

Posted on Sat, 04 Dec 2021 00:52:12 -0500 by homchz

## Identify coins and cell number + bar code detection (python+opencv)

1, Preparatory work Pictures used python version and opencv version python 3.8.12 opencv 3.4.11 2, Coin and cell number recognition principle Read the picture with opencv. After reading, grayscale and binarization are carried outAfter binarization, the values in the two-dimensional list of stored pictures are all 0 and 1. Exp ...

Posted on Sat, 04 Dec 2021 00:52:17 -0500 by said_r3000

## Raspberry pie 57/100 - Pico connected to Internet of things NB IOT

Recently, a project wanted to monitor the abnormal situation of an object on the construction site. This kind of thing should be able to stand by for 20 ~ 30 days with a 3.7V battery. Under normal circumstances, it is almost in a static state, and there will be a little vibration due to nearby interference. When there is a large movement, it sh ...

Posted on Fri, 03 Dec 2021 21:24:00 -0500 by craige

## Homogeneity test of covariance matrix (continued from the previous article)

I also know a little about the covariance homogeneity test, but I'm confused if I explain it more. This paper describes the covariance matrix test for two classification problems and the covariance matrix test for multiple classification problems Homogeneity test of covariance matrix for two classes Σ 1 is the covariance of category 1, ...

Posted on Fri, 03 Dec 2021 20:08:45 -0500 by mastercool

## python Process creation process

The python multiprocessing module provides the Process class There are two ways to create multithreads using the Process class: Directly create an instance object of the Process class to create a new ProcessYou can create instance objects or new processes by inheriting subclasses of the Process class. Subclasses that inherit from the Process c ...

Posted on Fri, 03 Dec 2021 19:42:37 -0500 by bschultz

## Basic concepts and operations of asynchronous Crawlers

Catalog 1) Concepts: 2) Multi-threaded asynchronous Crawlers Open threads for related blocking operations First Second Third Full code: 3) Process Pool & Thread Pool 4) Multi-threaded and multi-process 5) Use aiohttp 1. Ordinary requests 2. Add Request Parameters 3. Customize User-Agent in Request Header 4. Custom cookies in ...

Posted on Fri, 03 Dec 2021 18:56:25 -0500 by les4017

## Step by step to understand the python Chatbot tutorial code - define the model

Readme I'm a programming Xiaobai. Although the registration time is long, I'm not engaged in coding. I began to teach myself Python in order to learn AI. I usually knock the code according to the book, but I don't have a deep understanding. Now I want to study chatbot and find that my coding level needs to be strengthened, so I open this s ...

Posted on Fri, 03 Dec 2021 14:50:14 -0500 by dbakker