graviti logo产品公开数据集关于我们
登录
1307
0
66
The Car Connection Picture
创建来自Data Decorators / AChenQ
概要
活动

Overview

The Car Connection Picture Dataset is a dataset for car classificatioin.

Instruction

HOW TO RUN

  1. Copy all .py files into a folder.
    • Make sure you have all the dependencies installed and up to date (e.g., bs4, requests, etc).
  2. In main.py set path to where the files are, and directory where you want the images to land
    • You do not need to create the directory yourself
  3. Runmain.py. I suggest you try it with a portion of the data first, in case an error emerges later.
    • For instance, in scrape.py line 27, replace for make in listed: to for make in listed[1:3]:

EXAMPLE. Example — Audi vs BMW ConvNet.ipynb : example of a deep learning classification task with Pytorch

WARNING: You may have issues if you use Python 3.6

FAQ

  1. How do I get the large pictures?
    • In scrape.py, row 68, change this line:
    • for ix, photo in enumerate(re.findall('sml.+?_s.jpg', fetch_pics_url)[:150], 1):
    • to this line:
    • for ix, photo in enumerate(re.findall('lrg.+?_l.jpg', fetch_pics_url)[:150], 1):
    • You can use sml, med, lrg for your preferred image size

FILES

FILESDESCRIPTIONEXPORT
scrape.pyCreates a df of all cars with their specs/pics URLsspecs-and-pics.csv
tag.pyTurns the previous df into one tag per URLid_and_pic_url.csv
save.pyTurns all rows in the previous df to a picture named with the tagpictures/*.jpg
select.pyUses numpy to delete interior pictures, based on pixel colorexterior/*.jpg
main.pyRuns all other filesNone
数据预览
查看数据
数据集信息
应用场景Vehicle
标注类型Classification
LicenseUnknown
更新时间2021-03-24 23:33:30
数据概要
数据格式Image
数据数量64.47k
文件大小690MB
标注数量64467
版权归属方
Nicolas Gervais
标注方
未知
了解更多和支持
相关数据集
立即开始构建AI
免费开始联系我们