Feature preprocessing
import numpy as np
import pandas as pd
import tensorflow as tf
from tensorflow import feature_column
from tensorflow.keras import layers
from sklearn.model_selection import train_test_split
data
URL = 'https://storage.googleapis.com/applied-dl/heart.csv'
dataframe = pd.read_csv(URL)
train, test = train_test_split(dataframe, test_size=0.2)
...
Posted by sean72 on Wed, 02 Feb 2022 15:10:29 +0100
TensorFlow learning notes -- TensorFlow implements Word2Vec
The code of this article comes from natural language processing with TensorFlow, written by Thushan Ganegedara.
Yes, dear children, the official account of humbly Xiao Li has been opened and is looking forward to discussing with you.
0 Preface
The code of this article comes from natural language processing with TensorFlow, written by T ...
Posted by PHPslide on Mon, 31 Jan 2022 06:49:16 +0100
Ubuntu21. Install TensorFlow and configure GPU support under 10 (cuda11.1+cudnn8.0.5)
1, Foreword
Installing TensorFlow under Ubuntu is not a simple installation using pip. If you can't use GPU, the efficiency will be very low. The methods here are found out by stepping on some pits under the system. I hope they will be helpful.
System: Ubuntu 21 tenCUDA version: cuda11 oneCudnn version: cudnn8 two point one
2, Instal ...
Posted by webent on Sat, 29 Jan 2022 19:04:31 +0100
Practice and learning notes of the technical branch of digital recognition in question F of the National College Students' electronic design competition in 2021
Chapter 1 Introduction
The project relies on CNN_Mobilenet_Training is a project. You can find the name in the list of completed projects and read relevant documents. This item is connected in CSDN Here
This document mainly describes the technical branch of number recognition in question F of the National College Students' electronic des ...
Posted by jonki on Sat, 29 Jan 2022 08:15:21 +0100
TensorFlow----fashion_ Construction of neural network for MNIST data set
preface
Study Xiaobai deeply. I hope you guys will forgive me if you make mistakes.
1, Data set loading and data set preprocessing
The data set can be downloaded directly from the Internet. Here, the data set is divided into training set and test set, but more often, we will be divided into training set, cross validation set and ...
Posted by Seamless on Wed, 26 Jan 2022 22:30:14 +0100
Training skill improvement of GAN (WGAN, LSGAN, EBGAN, WGAN-GP algorithm) with code
Description of several problems in generating countermeasure networks
What is information entropy?
We use entropy to measure whether the data is ordered or disordered
Calculating information entropy
Information entropy is a measure of system chaos: Where Pi represents the probability of an event, the minimum information entropy is 0, ...
Posted by gszauer on Mon, 24 Jan 2022 05:31:54 +0100
Add SystemC support in tensorflow Lite
Install the corresponding version of Bazel
The corresponding commit of tensorflow downloaded today is 5a6c3d2139547b19fe8ed5ae856ed8c6ebbd7f7, and the corresponding version of bazel is 4.2.2. There is no correct version of bazel on the docker of tflite SOC, so it needs to be installed. The steps are as follows (it is in the docker container by ...
Posted by waradmin on Sun, 23 Jan 2022 20:28:28 +0100
Recognizer based on opencv
1 problem background
Biometric technology is widely used in government, military, banking, social welfare, e-commerce, security and defense and other fields. With the further maturity of technology and the improvement of social recognition, face recognition technology included in biometric technology will be applied in more fields, such as: 1. ...
Posted by srfdriver22 on Sun, 23 Jan 2022 11:41:31 +0100
Tensorflow2.0 object recognition training model data preparation
Recently, I studied the knowledge of artificial intelligence image recognition, using the famous tensorflow tool. At the same time, in order to avoid repeated wheel building, I used the object detection api implemented by Google to realize image recognition. The download address is as follows: https://github.com/tensorflow/models
In fact, ther ...
Posted by homer09001 on Sat, 22 Jan 2022 09:45:37 +0100
Mask rcnn trains his own dataset
win 10 anaconda pycharm
Project address: https://github.com/matterport/Mask_RCNN
1. Environment configuration
Reference https://blog.csdn.net/hesongzefairy/article/details/104702119
2. Data set preparation
Create folder dataset
The pic folder contains the original pictures
Then label the picture with labelme, and save the marked js ...
Posted by paha77 on Sat, 22 Jan 2022 06:35:55 +0100