Giter Site home page Giter Site logo

ugatit-pytorch-colab's Introduction

UGATIT-pytorch-colab

The Examples for training UGATIT in Google Colab with using PyTorch

About UGATIT

OVERVIEW

  • colab/ - Sample ipynb files for training or mobile model conversion
  • models/ - UGATIT networks (used in Colab files)

USAGE

Training

  1. Copy train_example.ipynb to your Google Drive storage.
  2. Prepare datasets and put them in the storage too.
  3. Open train_example.ipynb and fill in necessary informations (ex. the path to datasets in your storage).
  4. Modify others (ex. hyper parameters) if you need.
  5. Execute blocks of code in order and start training (trained models are saved in the storage).

Mobile model conversion (pytorch-mobile/coreML)

There are two examples for PyTorch-Mobile(android) and coreML(ios).

  1. Copy the sample file for mobile model conversion to your Google Drive storage.
  2. Open the file and fill in necessary informations (ex. the path to trained models in your storage).
  3. Modify others if necessary and execute blocks of code in order.

Quantization (only coreML)

  1. Copy the sample file for quantization to your Google Drive storage.
  2. Open the file and fill in necessary informations (ex. the path to the mobile model in your storage).
  3. Modify others if necessary and execute blocks of code in order.

NOTICE

PyTorch objects in models/ has been modified from https://github.com/znxlwm/UGATIT-pytorch/blob/master/networks.py.

ugatit-pytorch-colab's People

Contributors

ryu38 avatar

Stargazers

 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.