PPT Script
PPT Script
7. Proof of Concept
PPT Script
Problem Statement
Throughout history, art has been used as a medium to express thoughts, beliefs, and creativity.
The same holds true for Islamic art, at first glance it looks very complex and intricate, but one
soon realizes that it's a beautifully organized arrangement based on geometry and
mathematical equations. However, one cannot deny that it requires dedicating long hours to
practice and perfect. Not to mention, that people nowadays gravitate towards computer-
generated content, so it is feared that people will lose interest Islamic patterns due to their
time-consuming nature. Making them more at risk of gaining negligence over time. But with the
development of technology and emergence of machine learning, we seek to close the gap
between technology and Islamic patterns by using the most recent deep learning models, which
are Generative Adversarial Networks (GANs).
GANs are a deep learning model, that primarily consists of two networks, the generator and the
discriminator. The networks are in constant adversary, each with their own objective.
Simply put, the generator tried to generate fake data that resembles the real data, and gives it
to the discriminator network, in hopes of fooling the discriminator
Whereas the discriminators job is to classify whether the data it was given is real or fake.
If the generator fools the discriminator it advances, and the discriminator gets feedback to
improve its guessing abilities
If the opposite happened, and the discriminator classifies correctly and is not fooled then the
generator gets the feed to improve its fooling abilities
Problem Objectives - Read from PPT
Here we mention four benefits that could arise from this project
Awareness:
and inspire new geometric possibilities; as machines are not restricted by rules of creation,
which could open new doors.
Facilitate the use generated patterns in buildings, which could be utilized by architects
as well as branding purposes, as people might use them as for designs and logos for their
brands
As for Research:
We are utilizing GANs with purposes related to our cultural and tradition, which is a benefit
with intrinsic value.
Last but certainly not least, is providing the research community with a dataset of Islamic
patterns.
*IMPORTANT: you might start with theory part of the Train the network (Why stylegan2-ada?
and the model architecture)
Demo - Below
Results obtained
-Slides
Model Architecture
Results
______________________________________________________________________________
POC Demo
______________________________________________________________________________
Image Gathering:
[Safari => uncurated dataset]
Goal: We started with the first use-case in our use case diagram which was the curate and
process images use case, which firstly involved collecting a large dataset set comprising of
pattern.
However, keeping in mind that the conclusion came about by showing the generated results to
human subjects, and no quantitative accounts were considered.
We sought to do the experiments by ourselves. Basically, we trained the model various times
with different sizes of dataset
Process: -
Problems: Firstly we found that the best solution was screenshotting as it maintained the
photos quality. but you see screen shotting the images came with its problems, like:
- Time consuming
- Licensing issue
Solution: We found a website that had unlimited possibilities for pattern creation, which was
the Repper website. Which also came with some problem that we will discuss when viewing the
results
Image Processing:
[imageProcessing.ipynb]
Environment:
Why Google Colab:
- Provides access to free cloud GPUs, which is essential for us in the testing phase.
- Also, with subscribing to the pro plan, we can execute the code in the background. And
gives access to better performing GPUs such as the A100 and V100
- Easily Shareable between teammates
- Ease of syncing with google drive
Goal: To achieve uniformity before feeding the images to the networks, basically the network
only accepts, images power 2 dimensions, and requires us to standardize the color mode
Process:
-First, we mount google drive to gain full access of the drives content
-Then we crop the images at the center
-Scale them to our desired dimension
-Standardize the color mode, in our case the color mode is RGB
Problems: -
[copy-stylegan2-ada. ipynb]
Results:
Attempt: