GithubHelp home page GithubHelp logo

hendraet / synthesis-in-style Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 403 KB

Code for our Paper "Synthesis in Style: Semantic Segmentation of Historical Documents using Synthetic Data"

Home Page: https://arxiv.org/abs/2107.06777

License: GNU General Public License v3.0

Python 94.03% HTML 1.77% C++ 0.54% Cuda 3.54% Dockerfile 0.13%

synthesis-in-style's Introduction

Synthesis in Style

sis_example_high This repository contains the code for the paper Synthesis in Style: Semantic Segmentation of Historical Documents using Synthetic Data. The trained models and benchmark dataset used for evaluation can be found here.

Installation

Make sure that Python (version >= 3.8) is installed.

In stylegan_code_finder directory execute:

pip3 install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html

For building the required cuda extensions ninja is required. (Installation under Ubuntu: sudo apt-get install ninja-build)

Docker Image

You can also find a docker image with all necessary dependencies on Docker Hub.

Usage

For information how to use the code in this repository please refer to the wiki.

License and Credits

The code used for the EMANet implementation is taken from here.

The code for TransUNet was taken from this repository.

StyleGAN2 implementation and custom CUDA kernel codes are taken from official the official NVIDIA repository, which is published under Nvidia Source Code License-NC.

Citation

If you find the code useful, please cite our paper:

@INPROCEEDINGS{9956471,
  author={Bartz, Christian and Raetz, Hendrik and Otholt, Jona and Meinel, Christoph and Yang, Haojin},
  booktitle={2022 26th International Conference on Pattern Recognition (ICPR)}, 
  title={Synthesis in Style: Semantic Segmentation of Historical Documents using Synthetic Data}, 
  year={2022},
  volume={},
  number={},
  pages={3878-3884},
  doi={10.1109/ICPR56361.2022.9956471}
}

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.