Pytoch learning notes (10) -- train and test CNN network

This chapter will train a simple CNN network on CIFAR10 dataset: A simple CNN network is trained based on CIFAR-10 data set.Save the trained model and test it.Train with GPU. CIFAR dataset CIFAR data sets can be divided into CIFAR10 and CIFAR100. CIFAR-10 includes 10 categories and CIFAR-100 includes 100 categories. CIFAR-10 Features: 32x3 ...

Posted by delboy1978uk on Sat, 20 Nov 2021 01:52:01 -0800

Learn JAVA from scratch (basic introduction)

1. Build JAVA development environment Uninstall JDK (please ignore those not installed) Delete the JDK installation directory Delete JAVA_HOME and CLASS_PATH environment variable Delete PATH and JAVA_HOME and CLASS_PATH related environment variables Install JDK Go to Oracle's official website to download JDK or go to some domestic image ...

Posted by iamtheironman on Sat, 20 Nov 2021 01:49:42 -0800

Linux I / O reuse

IO multiplexing: listen to multiple file descriptors at the same time 1.select Interview frequencyWhat are the disadvantages of select and poll = > using epollepoll ET mode and LT mode The focus is on the read event EPOLLIN, because the read event requires data in the buffer before it can be read, and if there is no data, it will b ...

Posted by helpmeplease2 on Sat, 20 Nov 2021 01:47:49 -0800

Interview prerequisite: Java thread pool parsing

preface Mastering thread pool is a basic requirement for back-end programmers. I believe that almost everyone will be asked about thread pool during the job interview. I collected several classic thread pool questions on the Internet and took them as a starting point to talk about my understanding of thread pool. If ...

Posted by sufian on Sat, 20 Nov 2021 01:44:27 -0800

Example of PHP operating Redis queue

IDS is an advanced open source key value storage system, which is implemented in ANSI C. It is similar to memcached, but supports persistent data storage Queue operation: <?php $redis = new Redis(); $redis->connect('127.0.0.1',6379); while(True){ try{ $value = 'value_'.date('Y-m-d H:i:s'); $redis->LPUSH('key1',$value); sleep(r ...

Posted by dazzathedrummer on Sat, 20 Nov 2021 01:40:39 -0800

Combined with PaddleSeg and PyQt, a new crown lung CT ground glass lesion detection gadget was made

PaddleSeg PaddleSeg is an end to end image segmentation development kit developed by PaddlePaddle, covering a large number of high quality segmentation models in different directions, such as high precision and lightweight. Through modular design, two application modes of configuration driver and API call are provided to help developers more c ...

Posted by txhoyt on Sat, 20 Nov 2021 01:32:55 -0800

[PPTX analysis] image effect algorithm: set transparent color

PPTX resolution: set transparent color In PPT, we can set the specified color to be transparent through the picture format options - > Color - > set transparent color, so as to realize the need to remove the solid color background. Effect principle The logic of setting transparent color in PPT is very simple and clear: ·Rep ...

Posted by brynjar on Sat, 20 Nov 2021 01:18:37 -0800

Spring MVC series - Introduction to spring MVC execution process and related Servlet classes

preface When sending an HTTP request, Spring MVC will perform a series of processing after receiving it, and then respond to the resource. How is the whole process handled? Execution process Core components Dispatcher servlet: front-end controller, which does not need to be developed by engineers. It is provided by the framework to uniforml ...

Posted by djrichwz on Sat, 20 Nov 2021 01:11:11 -0800

STM32F103 completes the data acquisition of AHT20 temperature and humidity sensor based on I2C protocol

1, I2C bus communication protocol 1. Introduction to I2C bus I2C is the abbreviation of inter integrated circuit, which reads as I-squared-C. It was proposed by Philips in the 1980s and developed to allow motherboards, embedded systems or mobile phones to connect low-speed peripheral external devices. I2C bus is a bidirectional synchrono ...

Posted by atulkul on Sat, 20 Nov 2021 01:05:21 -0800

Promise learning notes

Note: the notes are from the video Shang Silicon Valley Web front end Promise tutorial from introduction to mastery Note: if you are a beginner, you only need to learn the basic use of Promise. Don't fall into the process of realizing handwritten Promise yourself. Understanding and use of Promise What is Promise Promise is a new technology ...

Posted by nickthegreek on Sat, 20 Nov 2021 00:44:20 -0800