Skip to content
/ models Public
forked from Oneflow-Inc/models

Models and examples built with OneFlow

License

Notifications You must be signed in to change notification settings

WanShaw/models

 
 

Repository files navigation

OneFlow-Models

Models and examples implement with OneFlow(version >= 0.5.0).

Introduction

English | 简体中文

OneFlow-Models is an open source repo which contains official implementation of different models built on OneFlow. In each model, we provide at least two scripts train.sh and infer.sh for a quick start. For each model, we provide a detailed README to introduce the usage of this model.

Features

  • various models and pretrained weight
  • easy use for beginners

Quick Start

Please check our the following demos for a quick start

Model List

Image Classification
Video Classification
Object Detection
Semantic Segmentation
Generative Adversarial Networks
Neural Style Transform
Person Re-identification
Natural Language Processing
Audio
Deep Reinforcement Learning
Quantization Aware Training
Knowledge Distillation

Installation and Environment setup

Install Oneflow

https://github.com/Oneflow-Inc/oneflow#install-with-pip-package

Build custom ops from source

In the root directory, run:

mkdir build
cd build
cmake ..
make -j$(nrpoc)

Example of using ops:

from ops import RoIAlign
pooler = RoIAlign(output_size=(14, 14), spatial_scale=2.0, sampling_ratio=2)

About

Models and examples built with OneFlow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • Shell 3.4%
  • Cuda 0.5%
  • Scala 0.3%
  • C++ 0.2%
  • Perl 0.1%