Detailed explanation and code implementation of masked self encoder MAE

Supervised learning is a traditional method of training machine learning model. During training, every observed data needs to be labeled. What if we had a way to train machine learning models without collecting labels? What if we extract tags from the same data collected? This type of learning algorithm is called self supervised learning. This ...

Added by DataSpy on Sun, 12 Dec 2021 05:19:22 +0200

Using transformers library to fine tune Bert for text classification

Recently tried to use HuggingFace 🤗 The transformers library fine tuned the Bert text classification under pytorch, and found many Chinese blog s, mainly for the processing of data. There is no detailed description, and I don't know how to deal with the format of dataset, so I make a record here.Dependent packagepytorchtransformersscikit-learn ...

Added by Calvin770D on Sat, 11 Dec 2021 10:46:23 +0200

Implementation of the whole process of concise cat image classification based on PaddleX

Propeller tool assembly - PaddleXThe whole process development tool of the propeller integrates all the capabilities required for in-depth learning and development such as the core framework, model library, tools and components of the propeller, and opens up the whole process of in-depth learning and development.PaddleX also provides a concise ...

Added by zoreli on Fri, 10 Dec 2021 02:38:56 +0200

Advanced deep learning: introduction to natural language processing: Chapter 3 word2vec

Chapter 3 word2vec The topic of this chapter is still the distributed representation of words. In the previous chapter, we obtained the distributed representation of words by using the counting based method. In this chapter, we will discuss the alternative method of this method, that is, the reasoning based method. As the name suggests, t ...

Added by lansing on Thu, 09 Dec 2021 15:31:47 +0200

Trigger word detection

Experimental topic Trigger word detection Experimental content In this experiment, we understand how to apply deep learning to speech recognition. We will build speech data sets and implement trigger word detection algorithms (sometimes referred to as keyword detection or wake-up word detection). Trigger word detection is a technology that a ...

Added by activeserver on Thu, 09 Dec 2021 12:27:57 +0200

torch.nn neural network -- loss function and back propagation + optimizer

7. Loss function loss Loss usually refers to the difference between the predicted value and the real value of the output of the neural network, which is used to: â‘  Calculate the gap between the actual output and the target â‘¡ Provide some basis for us to update the output (back propagation) For example: the specific definitions of each functio ...

Added by haaglin on Thu, 09 Dec 2021 07:25:02 +0200

2021SC@SDUSC Application and practice of software engineering in school of software, Shandong University -- yoov5 code analysis torch_utils.py

2021SC@SDUSC preface This article analyzes torch in yolov5 code_ Utils.py file is mainly some encapsulated tool classes. torch_distributed_zero_frist function @contextmanager def torch_distributed_zero_first(local_rank: int): """ Decorator to make all processes in distributed training wait for each local_master to do something. ...

Added by kkibak on Wed, 08 Dec 2021 05:32:00 +0200

Particle swarm optimization

1. Introduction to algorithm Particle swarm optimization The idea of is derived from the study of bird predation behavior, which simulates the flight and foraging behavior of bird clusters, and makes the group achieve the optimal purpose through collective cooperation. Imagine a scenario where a group of birds are randomly searching for food. ...

Added by at0mic on Wed, 08 Dec 2021 01:36:38 +0200

(Spatial Pyramid Pooling, SPP) Pooling explanation and code implementation of spatial pyramids

I. Introduction Problem: Existing CNN s require fixed-size input pictures, which can be achieved by clipping or distorting the original image. These two methods may have different problems: (i) The clipped area may not contain the whole object; (ii) The distortion operation results in unnecessary geometric distortion of the target. If the targ ...

Added by PHPcoder25 on Tue, 07 Dec 2021 19:29:05 +0200

pytorch_lightning notes

Original address: pytorch_lightning whole journey notes - Zhihu preface This article will be updated continuously. After my algorithm is trained, I will write another record about the experience of pytorch lightning in reinforcement learning. There's already a lot about pytorch_lightning (pl). In a word, this framework is really fragrant, in ...

Added by tony.j.jackson@o2.co.uk on Tue, 07 Dec 2021 00:05:42 +0200