Diwank Singh Tomer commited on
Commit
1d55733
1 Parent(s): 24ee802

feat: Add README etc

Browse files

Signed-off-by: Diwank Singh Tomer <diwank.singh@gmail.com>

Files changed (4) hide show
  1. .gitignore +4 -0
  2. README.md +38 -0
  3. dataset_infos.json +6 -0
  4. lld/preprocess.py +1 -1
.gitignore CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  # Byte-compiled / optimized / DLL files
2
  __pycache__/
3
  *.py[cod]
1
+ # raw data
2
+ raw/
3
+ data/
4
+
5
  # Byte-compiled / optimized / DLL files
6
  __pycache__/
7
  *.py[cod]
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license:
5
+ - mit
6
+ multilinguality:
7
+ - monolingual
8
+ size_categories:
9
+ - 100K<n<1M
10
+ pretty_name: Large Logo Dataset
11
+ ---
12
+
13
+ # Dataset Card for Large Logo Dataset (LLD)
14
+
15
+ ## Description
16
+
17
+ Adapted from the original [LLD dataset](https://data.vision.ee.ethz.ch/sagea/lld/). Original description:
18
+
19
+ > Designing a logo for a new brand is a lengthy and tedious back-and-forth process between a designer and a client. In this paper we explore to what extent machine learning can solve the creative task of the designer. For this, we build a dataset -- LLD -- of 600k+ logos crawled from the world wide web. Training Generative Adversarial Networks (GANs) for logo synthesis on such multi-modal data is not straightforward and results in mode collapse for some state-of-the-art methods. We propose the use of synthetic labels obtained through clustering to disentangle and stabilize GAN training. We are able to generate a high diversity of plausible logos and we demonstrate latent space exploration techniques to ease the logo design task in an interactive manner. Moreover, we validate the proposed clustered GAN training on CIFAR 10, achieving state-of-the-art Inception scores when using synthetic labels obtained via clustering the features of an ImageNet classifier. GANs can cope with multi-modal data by means of synthetic labels achieved through clustering, and our results show the creative potential of such techniques for logo synthesis and manipulation.
20
+
21
+ ## Schema
22
+
23
+ ``` yaml
24
+ - name: <string> Name of the company / organization
25
+ - description: <string> Description of what the organization does
26
+ - images: <np.uint8, shape(3, 400, 400)> Three logo images of 400x400
27
+ ```
28
+
29
+ ## Citations
30
+
31
+ ``` text
32
+ @misc{sage2017logodataset,
33
+ author={Sage, Alexander and Agustsson, Eirikur and Timofte, Radu and Van Gool, Luc},
34
+ title = {LLD - Large Logo Dataset - version 0.1},
35
+ year = {2017},
36
+ howpublished = "\url{https://data.vision.ee.ethz.ch/cvl/lld}"}
37
+
38
+ ```
dataset_infos.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ {"lld": {
2
+ "description": "Designing a logo for a new brand is a lengthy and tedious back-and-forth process between a designer and a client. In this paper we explore to what extent machine learning can solve the creative task of the designer. For this, we build a dataset -- LLD -- of 600k+ logos crawled from the world wide web. Training Generative Adversarial Networks (GANs) for logo synthesis on such multi-modal data is not straightforward and results in mode collapse for some state-of-the-art methods. We propose the use of synthetic labels obtained through clustering to disentangle and stabilize GAN training. We are able to generate a high diversity of plausible logos and we demonstrate latent space exploration techniques to ease the logo design task in an interactive manner. Moreover, we validate the proposed clustered GAN training on CIFAR 10, achieving state-of-the-art Inception scores when using synthetic labels obtained via clustering the features of an ImageNet classifier. GANs can cope with multi-modal data by means of synthetic labels achieved through clustering, and our results show the creative potential of such techniques for logo synthesis and manipulation.",
3
+ "citation": "@misc{sage2017logodataset, author={Sage, Alexander and Agustsson, Eirikur and Timofte, Radu and Van Gool, Luc}, title = {LLD - Large Logo Dataset - version 0.1}, year = {2017}, howpublished = "\url{https://data.vision.ee.ethz.ch/cvl/lld}"}",
4
+ "homepage": "https://data.vision.ee.ethz.ch/sagea/lld/",
5
+ "config_name": "labeled"
6
+ }}
lld/preprocess.py CHANGED
@@ -48,7 +48,7 @@ async def preprocess(batch_size: int = 100, limit: int = samples_count + 1):
48
 
49
  processor = gen_processor(batch_size, limit)
50
 
51
- chunk_size = 10
52
  async with stream.chunks(processor, chunk_size).stream() as chunks:
53
  async for chunk in chunks:
54
  df_chunk = pd.DataFrame(chunk, columns=columns)
48
 
49
  processor = gen_processor(batch_size, limit)
50
 
51
+ chunk_size = 1000
52
  async with stream.chunks(processor, chunk_size).stream() as chunks:
53
  async for chunk in chunks:
54
  df_chunk = pd.DataFrame(chunk, columns=columns)