keras.layers.LSTM, Dense, etc. transfer input_ The shape parameter is given to the first layer

@Created on: 20210413 @Modified on: 20210413 1. Background At keras In the Sequential sequential model API of layers, the Sequential model is a linear stack of multiple network layers. You can pass the list of layers to the Sequential constructor. The methods and properties include: model.layers is a flattened list that contains the netw ...

Added by bandit8 on Tue, 08 Mar 2022 01:09:42 +0200

Machine translation model three Attention mechanism__ Pytoch implementation

1. Introduction of attention mechanism In the seq2seq model in the previous section, in order to enable the decoder and the linear classification layer to directly obtain more information during decoding, we provide the original context vector to each decoder and the original context vector and word embedding to each linear layer, as shown bel ...

Added by zilem on Tue, 08 Mar 2022 00:42:32 +0200

ubuntu18.04 installation of depth learning kit cuda, cudnn complete set of pit avoidance correct posture

The last article talked about how to use Ubuntu 18 04 install nvidia graphics card driver, then install cuda and cudnn together in the environment where the graphics card driver is installed. The workload is also a lot. I unloaded it several times. The complete collection of deep learning environment and pit avoidance is coming!!!! pref ...

Added by nedpwolf on Mon, 07 Mar 2022 22:30:13 +0200

Reinforcement learning algorithm: PPO2 creates a bitcoin trading robot that won't lose money

Creating a bitcoin trading robot will not lose money In this article, we will create a deep reinforcement learning agent to learn to make money through bitcoin trading. In this tutorial, we will use the PPO agent in OpenAIgym and the stable baselines Library (a branch of OpenAI's baselines Library). The purpose of this series of articles is to ...

Added by decessus on Mon, 07 Mar 2022 21:53:14 +0200

Write a beautiful face recognition client with PYQT5 of Python

If you don't say much, see the effect first Below is the effect of not wearing a mask (cover it with an idol first) Here is the effect of wearing a mask Let's describe this effect again. In fact, it's not a picture, but read by the camera in real time. First of all, thank AIZOOTech's open source project - FaceMaskDetection. At the same time, ...

Added by obesechicken13 on Mon, 07 Mar 2022 19:20:45 +0200

There are a lot of configurations for Ubuntu deep learning environment

There are a lot of configurations for Ubuntu deep learning environment I changed from other majors to deep learning. Due to the lack of system knowledge of many computers at the beginning of contact, various problems often appear in the environment configuration. There are often many solutions to the same problem on the Internet, some of which ...

Added by protokol on Mon, 07 Mar 2022 17:29:20 +0200

Deep learning notes -- pytorch data processing toolbox

Introduction to torchvision There are four functional modules in torchvision: model, datasets, transforms and utils. Using datasets, you can download some classic datasets. Here we will focus on how to use the ImageFolder of datasets to process custom datasets, and how to use transforms to preprocess and enhance source data. transforms transfo ...

Added by blue-genie on Mon, 07 Mar 2022 13:34:28 +0200

Building deep learning model based on Dockerfile (OpenPCdet)

Article catalogue Installation of docker (gpu) Installing the graphics card driver on Linux Install docker Install NVIDIA Container Toolkit Write dockerfile Docker image and container startup, packaging and export Some problems encountered: no module name 'pcdet' libGL.so.1 Take OpenPCdet as an example reference resources: [Docke ...

Added by shai1 on Mon, 07 Mar 2022 11:49:39 +0200

Shandong innovation and Entrepreneurship Competition - grid event intelligent classification ERNIE online accuracy 0.74_ copy

Reprinted from AI Studio Project link https://aistudio.baidu.com/aistudio/projectdetail/3352265 Competition background Competition link: http://data.sd.gov.cn/cmpt/cmptDetail.html?id=67 Urban grid management is to divide the urban management area into unit grids according to certain standards. By strengthening the inspection of the cell gri ...

Added by JustGotAQuestion on Mon, 07 Mar 2022 02:45:31 +0200

[AI talent Creation Camp phase II] rock recognition based on PaddleX

Reprinted from AI Studio Project link https://aistudio.baidu.com/aistudio/projectdetail/3539295 1. Project background Considering that I study the interdisciplinary of artificial intelligence and oil and gas, I want to try whether I can start with basic rock recognition and do a small task of rock recognition. The idea of this task comes fro ...

Added by garry27 on Mon, 07 Mar 2022 02:19:58 +0200