• 大小: 65.43MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2022-07-02
  • 语言: 其他
  • 标签: 深度学习  数据集  

资源简介

猫狗大战数据集,训练集各有不同尺寸的小猫小狗1000张,测试集各有不同尺寸的小猫小狗500张。

资源截图

代码片段和文件信息

from keras.preprocessing.image import array_to_img img_to_array load_img

import os

for fname in os.listdir(‘train/cats‘):
  print fname

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-07-10 07:12  cats_and_dogs_filtered\
     文件         140  2016-09-22 12:02  cats_and_dogs_filtered\vectorize.py
     目录           0  2018-06-11 11:06  cats_and_dogs_filtered\validation\
     目录           0  2018-06-11 11:06  cats_and_dogs_filtered\train\
     目录           0  2018-06-11 11:06  cats_and_dogs_filtered\validation\dogs\
     文件       28484  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2127.jpg
     文件       27922  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2126.jpg
     文件       45328  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2125.jpg
     文件       24140  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2124.jpg
     文件        7858  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2123.jpg
     文件       47397  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2122.jpg
     文件       29942  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2121.jpg
     文件       44551  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2120.jpg
     文件       11621  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2119.jpg
     文件       25722  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2118.jpg
     文件       35041  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2117.jpg
     文件        5880  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2116.jpg
     文件       10274  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2115.jpg
     文件       26502  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2114.jpg
     文件       32908  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2113.jpg
     文件       58649  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2112.jpg
     文件       25009  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2111.jpg
     文件       33796  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2110.jpg
     文件       17022  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2109.jpg
     文件       11882  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2108.jpg
     文件        3625  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2107.jpg
     文件       24265  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2106.jpg
     文件       20491  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2105.jpg
     文件        8039  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2104.jpg
     文件       11028  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2103.jpg
     文件       36168  2013-09-20 10:00  cats_and_dogs_filtered\validation\dogs\dog.2102.jpg
............此处省略2977个文件信息

评论

共有 条评论