[[{"tgt":"在深度学习中使用Matplotlib显示图像.","



运行这段代码:

n","src":">

Running this piece of code:

n","tgtPronounce":">

yùn xíng zhè duàn dài mă:

n"}],[{"tgt":"
#loading test images
val_ds = tf.keras.preprocessing.image_dataset_from_directory(
test_path,image_size=(img_height,img_width), label_mode='int', 
batch_size=batch_size)

import matplotlib.pyplot as plt
plt.figure(figsize=(12,12))
for img ,label in val_ds.take(1):
for i in range(12):
ax = plt.subplot(4,3,i + 1)
plt.imshow(img[i].numpy().astype('uint8'))
plt.title(class_name[label[i]])
plt.axis('off')
n","src":"PP_1n","tgtPronounce":"PP_ 1n"}],[{"tgt":">

我得到这个错误:

n","src":">

I got this error :

n","tgtPronounce":">

wŏ dé dào zhè gè cuò wù:

n"}],[{"tgt":">

NotFoundError: NewRandomAccessFile failed to Create/Open: D:\Machinen","src":">

NotFoundError: NewRandomAccessFile failed to Create/Open: D:\Machinen","tgtPronounce":">

NotFoundError: NewRandomAccessFile failed to Create/Open: D: \Machinen"}],[{"tgt":"学习\DPL\深度学习与TensorFlow计算机视觉n","src":"Learning\DPL\Deep Learning for Computer Vision with TensorFlown","tgtPronounce":"xué xí\DPL\shēn dù xué xí yŭ TensorFlowjì suàn jī shìjuén"}],[{"tgt":"2 .基于TensorFlow的计算机视觉深度学习n","src":"2[TutsNode.com] - Deep Learning for Computer Vision with TensorFlown","tgtPronounce":"2 . jī yú TensorFlowde jì suàn jī shì jué shēn dù xuéxín"}],[{"tgt":"2 \ 3。","src":"2\3. ","tgtPronounce":"2 \ 3 ."},{"tgt":"卷积神经网络\15.1n","src":" Convolutional Neural Networks\15.1n","tgtPronounce":" juăn jī shén jīng wăng luò\ 15 . 1n"}],[{"tgt":"covid19 \ covid19 \ test \ Covid \ auntminnie _01_28_23_51_6665_2020_01_28_vietnam_coronavirus.jpeg——a - 2020n","src":"covid19\covid19\test\Covid\auntminnie-a-2020_01_28_23_51_6665_2020_01_28_Vietnam_coronavirus.jpegn","tgtPronounce":"covid 19 \covid 19 \test\Covid\auntminnie_ 01 _ 28 _ 23 _ 51 _ 6665 _ 2020 _ 01 _ 28 _vietnam_coronavirus. jpeg——a- 2020n"}],[{"tgt":":系统找不到指定的路径。","src":": The system cannot find the path specified. ","tgtPronounce":": xì tŏng zhăo bú dào zhĭ dìng de lù jìng."},{"tgt":";","src":" ; ","tgtPronounce":" ;"},{"tgt":"无此进程
[[{{node ReadFile}}]]

最新更新