本文以cifar10數(shù)據(jù)集為例進(jìn)行演示
(cifar10數(shù)據(jù)集有5萬張3232像素點(diǎn)的彩色圖片,用于訓(xùn)練有1萬張3232像素點(diǎn)的彩色圖片,用于測試)文章來源地址http://www.zghlxwxcb.cn/news/detail-714782.html
import tensorflow as tf
import os
import numpy as np
from matplotlib import pyplot as plt
from tensorflow.keras.layers import Conv2D, BatchNormalization, Activation, MaxPool2D, Dropout, Flatten
文章來源:http://www.zghlxwxcb.cn/news/detail-714782.html
到了這里,關(guān)于CNN實(shí)現(xiàn)與訓(xùn)練--------------以cifar10數(shù)據(jù)集為例進(jìn)行演示(基于Tensorflow)的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!