resnet-based training flower image classification model (p31-p37)

Summary This is a series of pytorch notes that follow station b. There are a lot of classified articles about renet model image recognition on the internet, but the image part is usually just a link to it. Or read a well-known article and prepared the dataset from scratch. One dataset preparation The dataset consists of 102 categories of flo ...

Posted by timmy0320 on Thu, 03 Feb 2022 18:55:51 +0100

"Python" Read and Write Files

Author: An Engineering Engineer in AXYZdong Automation Have a little thought, a little thought, a little reason! Set a small goal and work hard to become a habit! Meet a better self in the most beautiful years! CSDN@AXYZdong , CSDN launch, original AXYZdong The only blog update address is: 👉 AXYZdong's Blog 👈 The home page of Station B is: AX ...

Posted by bubblocity on Thu, 03 Feb 2022 18:25:50 +0100

Why use PyCharm to run the use case successfully but cannot exit?

This article was published on Byte cloud official accountprefaceSome time ago, due to the upgrade of an SDK used by the project, when running a use case using PyCharm+unittest, it can run and output results, but it has been unable to exit the use case. With the in-depth investigation, it is found that the threads in this SDK are "causing t ...

Posted by facets on Thu, 03 Feb 2022 14:09:15 +0100

python iterates over objects, iterators, and generators

python iterates over objects, iterators, and generators 1, Introduction 1. About iterators and generators As for the two concepts of iterator and generator in Python, most programmers think they are similar in function. In the official documents of python, iterators are sometimes regarded as generators. In fact, there are some difference ...

Posted by Scriptor on Thu, 03 Feb 2022 12:09:46 +0100

python quantitative transaction Chapter 2

I What is a stock 1.1 origin of shares In the 15th century, maritime trade and colonial plunder rose, which was a way to get rich. Western countries gave birth to a batch of ocean voyagers, which also enriched western countries who were good at sea trade and plunder. To organize long-distance trade, fleets must be formed, which requires huge f ...

Posted by lilRachie on Thu, 03 Feb 2022 11:42:39 +0100

Classification case: sample imbalance in XGB

Parameter setting There are often problems in XGB classification There are parameters to adjust the sample imbalance scale_pos_weight , Usually, we enter the ratio of negative sample size to positive sample size in the parameter Classification case Create unbalanced dataset import numpy as np import xgboost as xgb im ...

Posted by jakebrewer1 on Thu, 03 Feb 2022 10:42:13 +0100

GEE: analysis of urban heat island effect

1, Problem Description: How to use GEE to analyze urban heat island effect? Get the area with higher temperature in the urban area, and get the area of the area? In the analysis area, the urban area of Beijing is selected for analysis: 2, Heat island effect Urban Heat Island Effect refers to the phenomenon that the temperature in a ...

Posted by Kadanis on Thu, 03 Feb 2022 10:19:59 +0100

What is a crawler? What is the principle of Python crawler

preface In short, the Internet is a large network composed of sites and network devices. We visit sites through the browser, and the site returns HTML, JS and CSS codes to the browser. These codes are parsed and rendered by the browser to present colorful web pages in front of us; 1, What is a reptile? If we compare the Internet to a large s ...

Posted by anthony88guy on Thu, 03 Feb 2022 07:43:48 +0100

Children's day teaches you to do a C# picture matching game

First of all, I wish programmers a happy children's Day (* ^ â–½ ^ *) Game learning is useless. Take it home and coax the children OK, don't talk much, go straight to talent! EG Emon, EG Emon, EG Emon, EG Emon (there is a link to the finished game at the end of the article. My favorite little partner has three links with one button) 1. ...

Posted by thoand on Thu, 03 Feb 2022 05:47:08 +0100

Using pybind11 to write C + + extension configuration for Python: Build (compile and link)

Finally, we decided to choose pybind11 for the following reasons: It looks much more human than python's native C API My C + + code is not ready-made and requires a certain amount of C + + development workload, so I feel that Python is not very convenient. If the C + + interface has been given, it may be better to simply wrap it. pybind11 cla ...

Posted by epimeth on Thu, 03 Feb 2022 05:21:12 +0100