I recently started to learn the SSD algorithm. From being confused when I got the code to finally being able to run my own code (I have a weak foundation), I am very, very happy. This article mainly introduces my modification process and the encounters I encountered during the training process. The problems I mentioned […]
Tag: tail
Pytorch installation and configuration in pycharm and jupyter-CPU detailed version
1. Create a virtual environment conda create -n virtual environment name python=3.6 It prompts me that I have already created this virtual environment, select y. After creation, the following screen is displayed Check again whether the creation is successful Enter the following command conda env list From the picture below, you can see that it […]
Discuss in detail the difference between the sliding window algorithm and the KMP algorithm and the scenarios in which they are used.
What is the sliding window algorithm The sliding window algorithm is an algorithm for solving subarray (or substring) problems within an array (or string). The algorithm works by maintaining a fixed-size window (usually two pointers) that slides over the array to find subarrays that match specific criteria. The basic idea of the algorithm is to […]
[Data structure] Sequence table | Detailed explanation
There are two basic storage structures used to store linear tables in computers: sequential storage structures and chained storage structures. This article introduces the use of sequential storage structure to realize linear table storage. Sequential storage definition The sequential storage structure of a linear list refers to a storage unit with consecutive addresses that stores […]
[C Language] Three-piece chess game implementation (details and process)
Table of Contents (0) Game ideas (1) Print menu (2) Initial array (3) Print the chessboard (data + dividing line) (4) Players play chess (5) Computer chess (6) Determine winning or losing* (7)Total code (8) Running instance (0) Game Ideas The implementation of three-piece chess; 1. Continue as soon as the game is over without […]
Detailed analysis of DOM objects of javascript in Javaweb
1.5.3 DOM Object 1.5.3.1 DOM introduction DOM: Document Object Model. That is, JavaScript encapsulates the various components of the HTML document as objects. In fact, we are not unfamiliar with DOM. We have come into contact with it before when learning XML. However, the tags in the XML document require us to write code to […]
Sort is simple to implement, simple and detailed (source code attached)
Simple implementation of sort This article is intended for beginners and is designed to help them understand the implementation of sort. Providing a detailed process and attaching the source code is also to encourage your own progress and encourage others. Introduction Read this article The basis is quick sorting and its optimization Click to jump, […]
[Data structure] Sequential stack and chain stack (detailed explanation with diagram)
Article directory 1. What is a stack? 1.1 Purpose of stack 2. Stack structure and basic operations 3. Implementation details of the stack 3.1 Sequential stack 3.1.1 Stack initialization 3.1.2 Pushing elements onto the stack 3.1.3 Pop elements from the stack 3.1.4 Get the top element of the stack 3.1.5 Determine whether the stack is […]
JVM source code analysis: processing details of soft, weak and virtual references
Table of Contents Write in front: Source code analysis: Java level: JVM level: Danger points of use: Summarize: Version Information: jdk version: jdk8u40 Garbage collector: Serial new/old Write in front: Different garbage collectors have different algorithms and different efficiencies. The default is ParallelScavenge new/old in JDK8. The author used Serial new/old when writing the article. […]
Detailed explanation of event flow in JavaScript
1. Event flow Event flow is a description of the event execution process, which is the flow process of the entire event. When any event is triggered, it will always go through two stages: [Capture stage] and [Bubbling stage]. In short, the capture phase is the transmission process [from father to son], and the bubbling […]