Keras running GAN instance (2022.2.25)

1. GAN introduction GAN (generative advantageous networks) is a network proposed by Ian J. Goodfellow and others at the 2014 nips conference. They proposed a new framework for estimating generative models using confrontation processing. The framework can train two models at the same time: one is generative model G (Generator generator Gene ...

Posted by ppgpilot on Fri, 25 Feb 2022 10:26:39 +0100

Neural network case

Neural network case Learning objectives Able to use TF Keras get datasetConstruction of multilayer neural networkBe able to complete network training and evaluation The MNIST dataset using handwritten digits is shown in the figure above. The dataset contains 60000 samples for training and 10000 samples for testing. The image is a fixed ...

Posted by dabas on Sun, 20 Feb 2022 10:10:24 +0100

Detailed explanation of EBImage package for R language image processing

This article is excerpted from the fourth chapter of Keras deep learning: introduction, actual combat and advanced. What is EBImage EBImage is an extension package of R. it provides general functions for reading, writing, processing and analyzing images, which is very easy to use. The EBImage package is installed in Bioconductor thro ...

Posted by Waire on Thu, 10 Feb 2022 05:25:12 +0100

TensorFlow-Keras 16. Losses common loss function

I introduction: Mentioned before Custom Loss and metrics , the following is an inventory of the loss functions commonly used in Keras. Of course, they are also commonly used in daily production and development for future user-defined loss functions. Although there are many forms of loss function, it can never change without its origin. Loss fu ...

Posted by sammon96 on Wed, 09 Feb 2022 13:33:47 +0100

MobileNet actual combat: tensorflow2 Version x, MobileNetV1 image classification task (big data set)

abstract This example extracts part of the data in the plant seedling data set as the data set. The data set has 12 categories. Today, I work with you to implement tensorflow2 For the X version image classification task, the classification model uses MobileNetV1. The algorithm implemented in this paper has the following characteristics: 1. Th ...

Posted by dirkbonenkamp on Thu, 27 Jan 2022 04:22:48 +0100

Ten thousand word summary Keras deep learning Chinese text classification

Abstract: This article will explain in detail Keras's implementation of classical deep learning text classification algorithms, including LSTM, BiLSTM, BiLSTM+Attention, CNN and TextCNN. This article is shared from Huawei cloud community< Keras deep learning Chinese text classification ten thousand word summary (CNN, TextCNN, BiLSTM, attenti ...

Posted by gskurski on Thu, 13 Jan 2022 04:11:53 +0100

TensorflowSimilarity Learning Notes 7

2021SC@SDUSC Code location: similarity/distances.py at master · tensorflow/similarity · GitHub  @tf.keras.utils.register_keras_serializable(package="Similarity") class CosineDistance(Distance): """Compute pairwise cosine distances between embeddings. The [Cosine Distance](https://en.wikipedia.org/wiki/Cosine_similarity) is an angu ...

Posted by abid786 on Thu, 30 Dec 2021 20:44:41 +0100

Automatic generation of Chinese Tibetan poems based on LSTM

Like RNN neurons, LSTM neurons can maintain memory in their pipeline to allow solving sequence and time problems without disappearing gradient problems affecting their performance. Using the ancient poetry data set, the LSTM neural network model is used to train and automatically generate Chinese Tibetan head poetry. import pandas as pd i ...

Posted by axo on Sun, 26 Dec 2021 13:35:37 +0100

SRGAN image super resolution reconstruction (Keras)

preface SRGAN network is a network that uses GAN network to realize image super-resolution reconstruction. After training the network. Only the Generator is used to reconstruct low resolution images. The network structure mainly uses generators and discriminators. The training process is not very stable. It is generally used for image re ...

Posted by plouka on Mon, 06 Dec 2021 03:52:03 +0100

mnist handwriting recognition program based on keras

Hello, I'm a graduate student from the ECG group of Hebei University. This article is my understanding and sharing of mnist recognition learning. This paper is mainly used to give a guide to students who want to build a network with keras to identify mnist. Please correct any mistakes I will accept it with an open mind The first is the inst ...

Posted by slapdashgrim on Tue, 16 Nov 2021 14:22:06 +0100