1 Star 0 Fork 0

小飞not/yymnist

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Introduction

A lot of wonderful datasets are now available online, such as COCO or Imagenet. which is challenging the limits of computer vision. But it's not easy for us to do some small experiments with such a large number of images to quickly test the validity of algorithmn. For this reason, I created a small dataset named "yymnist" to do both classification and object detection.

classification object detection
image image

Installation

Clone this repo and install some dependencies

$ pip install opencv-python
$ git clone https://github.com/YunYang1994/yymnist.git

Classification

If you want to use this dataset for classification, just use mnist folder. Each image in the folder starts with a name of its label. For example:

mnist/train/0_32970.pgm -> 0
mnist/train/5_12156.pgm -> 5

Objection Detection

$ python yymnist/make_data.py
$ python yymnist/show_image.py # [option]

you will defaultly get 1000 pictures in the folder ./yymnist/Images and a label.txt in the ./yymnist/. As for label.txt

# image_path x_min, y_min, x_max, y_max, class_id  x_min, y_min ,..., class_id 

空文件

简介

a mnist dataset for object detection 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaofeinot/yymnist.git
git@gitee.com:xiaofeinot/yymnist.git
xiaofeinot
yymnist
yymnist
master

搜索帮助