rasm icon indicating copy to clipboard operation
rasm copied to clipboard

Arabic Art using GANs

rasm

Arabic art using GANs. We currently have two models for generating calligraphy and mosaics.

Notebooks

Name Notebook
Visualization

Visualization

A set of functions for vis, interpolation and animation. Mostly tested in colab notebooks.

Load Model

from rasm import Rasm
model = Rasm(mode = 'calligraphy')
model = Rasm(mode = 'mosaics')

Generate random

model.generate_randomly()

Generate grid

model.generate_grid()

Generate animation

model.generate_animation(size = 2, steps = 20)

alt text

Sample Models

Mosaics

alt text alt text alt text alt text

Calligraphy

alt text alt text alt text alt text

References

  • Gan-surgery: https://github.com/aydao/stylegan2-surgery
  • WikiArt model: https://github.com/pbaylies/stylegan2
  • Starter-Notebook: https://github.com/Hephyrius/Stylegan2-Ada-Google-Colab-Starter-Notebook/