Echart polar coordinates, azimuth and distance diagram, icon symbol rotation and size, color gradient

Background: Participating in an interactive chart project, the customer had a need for polar coordinate comparison to display different types of indicator data in different directions and distances. Specifically, the attribute fields are: Source, distance, orientation, ID, rotation angle, size Let’s look at the renderings first: Technical points: Legend description: The distance is the radial […]

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 58 but got size 57 fo

An error occurred: When using yolo v5n for network training, the input size used is 900*900. When connecting the Feature Map of the 11th layer and the 6th layer at the 12th layer Concat, there is a problem of different dimensions. After running, the following error message appears: RuntimeError: Sizes of tensors must match except […]

About defining the interface Comparable (comparator) to compare the sizes of two objects

1. Topic: Comparing the sizes of objects of different reference types: Requirement description: Although the student category and the news category are completely different categories, they both have the ability to compare. For example, you can compare the size of two students, but you need to specify whether the comparison is based on student number, […]

STL–vector container (construction, traversal, insertion and deletion, capacity size, data access, dynamic expansion, etc.)

vector Foreword In the past few days, I have used STL a lot when writing code, and I have also felt the power of STL, so I reviewed the content of STL again, and summarized and extracted some basic things and important content. This is a vector article . C++’s STL provides us with many […]