Coder Social home page Coder Social logo

ican's Introduction

icAN

Style transfer is an important area of research in the field of generative AI, with applications in a wide range of fields, including art, design, and advertising. This work explores the use of GAN in style transfer for icons across different platform styles.

various

network

Code Structure

The project structure is as follows:

  • ckpt: Directory to store the trained model checkpoints.

    • model_demo.pt: Trained model checkpoint for demo.
  • dataset.py: Python script for handling the dataset.

  • data/: Directory containing the training.

    • raw: Raw RGB images for icons.
    • edge: Edges for icons.
    • meta: Information about icons including reference icons in dataset.
  • main.py: Main Python script for running the project.

  • models/: Directory containing models for this project.

    • basic: The baseline model for this project.
    • resnet: The model using ResNet structure.
  • requirements.txt: File listing the project's dependencies.

  • scrawler/ : Directory containing utility functions for data preparation.

    • get_icon_names.py: A script that can automate the retrieval of icon names.
    • download.py: A script that can download data from https://icons8.com according to the given icon names list.
    • download_multi.py: A script that can download data in multi-threading mode.
    • preprocess.py: A script that can preprocess downloading data.
  • eval: Directory containing evaluation during training

Usage

  1. Ensure that you have the required dependencies installed by running: pip install -r requirements.txt

  2. Interact with the trained model using demo.ipynb.

  3. Run main.py to train a new model.

ican's People

Contributors

ctp314 avatar fjlafafa 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.