Tensorflow 2 actual combat (kears) - generative countermeasure Network - GAN, WGAN-GP

1, Background introduction 1.1 introduction to data set The Anime dataset used in this actual combat is PNG picture of "high definition animation character Avatar". The pictures are 64x64 color pictures, a total of 21551. The examples of the pictures are as follows: 1.2 model introduction The "generation countermeasure ...

Added by shadownet on Thu, 30 Dec 2021 11:48:07 +0200

2021SC@SDUSC Application and practice of software engineering in school of software, Shandong University -- yolov5 code analysis -- Part 5 -- train py

catalogue Import third party libraries parse_opt function Import third party libraries import argparse import logging import math import os import random import sys import time from copy import deepcopy from pathlib import Path import numpy as np import torch import torch.distributed as dist import torch.nn as nn import yaml from torch. ...

Added by daredevil88 on Tue, 28 Dec 2021 15:46:03 +0200

Train your own model with TensorFlow object detection under win

1. Environment 1.1 create a virtual environment Python 3 7. Install tensorflow GPU = = 1.13 1. Install PIL (PIP install pilot). 1.2 download labelimg, use labelimg to label, save and generate xml files (use these three shortcut keys: ctrl+s to save, d next, w brush tool, and preferably label in string form). 1.3 establish 4 folders (train ...

Added by Incessant-Logic on Thu, 23 Dec 2021 04:43:41 +0200

100 cases of deep learning - generation confrontation network (DCGAN) generation animation little sister | day 20

1, Foreword 🚀 My environment: Locale: Python 3 six point fivecompiler: jupyter notebookDeep learning environment: tensorflow2 four point one 🚀 In depth learning newcomers must see: Introduction to Xiaobai deep learning Xiaobai introduction to in-depth learning Chapter 1: configuring in-depth learning environmentIntroduction to Xiaob ...

Added by alsaffar on Thu, 23 Dec 2021 01:37:51 +0200

Attention mechanism SENet, CBAM

Rimeng Society AI AI:Keras PyTorch MXNet TensorFlow PaddlePaddle deep learning real combat (irregular update) Encoder Decoder framework + Attention mechanism Pytoch: Transformer(Encoder Decoder decoder, multi head attention mechanism, multi head self attention mechanism, mask tensor, feedforward full connection layer, normalization layer, ...

Added by devxtec on Mon, 20 Dec 2021 22:43:33 +0200

Cat dog recognition in Keras framework

Tensorflow learning (using jupyter notebook) preface   as an important research field rising in recent years, deep learning has been applied in many fields. In the next few years, the heat of in-depth learning will continue to be hot. 1, Relationship between tensorflow and keras   TensorFlow and Keras are frameworks that ...

Added by Gamerz on Sat, 18 Dec 2021 10:09:44 +0200

Tensorflow learning notes (load pictures with tf.data)

Original code from t ensorflow Tensorflow learning notes (load pictures with tf.data) This tutorial provides an example of how to use TF Data loading a simple example of an image. Importing modules, configuring import tensorflow as tf tf.data is used for data set construction and preprocessing AUTOTUNE = tf.data.experimental.AUTOTUNE ...

Added by Viola on Fri, 17 Dec 2021 11:31:04 +0200

TensorFlow2 function -- TF data. Dataset. padded_ batch

Category: General contents of TensorFlow2 function in simple terms Function: padded_batch(batch_size, padded_shapes=None, padding_values=None, drop_remainder=False,name=None) This function can merge the continuous elements of the dataset into the padded batch. Merge multiple consecutive elements of the input dataset into a single element. ...

Added by MBK on Wed, 15 Dec 2021 18:38:45 +0200

Teach you how to build a classification neural network with Keras

Abstract: This paper mainly realizes a case of classification learning through Keras, and introduces MNIST handwriting recognition data set in detail. This article is shared from Huawei cloud community< [Python artificial intelligence] XVII. Case study of Keras building classification neural network and MNIST digital image >, by eastmo ...

Added by Leppy on Fri, 12 Nov 2021 09:54:12 +0200

Train your model with custom datasets in TensorFlow

The words written in the front      This year's video game is finally over. Many friends around have chosen the topic of drug delivery car. At the beginning, they may think it's simple. Tracking car + digital recognition can be done. At the beginning, many friends considered using OpenMv as a digital recognition platfor ...

Added by ++Sti++ on Tue, 09 Nov 2021 11:08:29 +0200