Code Monkey home page Code Monkey logo

basti2's Introduction

basti2

Test Project to learn how to produce fonts using current ai tools and resources. This is a mix of pix2pix and reinforced learning.

Current Instructions

  1. Install python requirements (python3):

$ sudo pip3 install -r requirements.txt

  1. Select a main font for training and rename it as 1.ttf

  2. Put the rest of the fonts in the fonts folder (ttf files)

  3. Run font2img.py

$ python3 font2img.py

  1. Copy the generated images from the data folder and divide them into 3 folders (50% to train and 25% to the rest of the folders):
  • train
  • test
  • val
  1. Use renamer.py to rename files by modifying the path location

  2. Once files are renamed copy train test and val folders to the images font folder (replace if needed)

  3. Run basti.py for training

$ python3 basti.py

  1. Save or move the generated model h5 and json files to a safe location for further use later

Good Luck

basti2's People

Contributors

jcchiba avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.