Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sfikas/quaternion-gan

Code that implements the Quaternion Generative Adversarial Network.
https://github.com/sfikas/quaternion-gan

deep-learning gan generative-adversarial-network pytorch quaternion

Last synced: 22 days ago
JSON representation

Code that implements the Quaternion Generative Adversarial Network.

Awesome Lists containing this project

README

        

# Paper code for "Quaternion Generative Adversarial Networks for Inscription Detection in Byzantine Monuments"

This repository contains source code for the paper "
[Quaternion Generative Adversarial Networks for Inscription Detection in Byzantine Monuments](http://cs.uoi.gr/~sfikas/icprw-quaternion-gan.pdf)
" by Sfikas et al. (PatReCH 2020).

![QGAN results](figure.png "Sample")

## Requirements

Use ``pip3 install -r requirements.txt`` (after creating a virtual environment optionally, followed by ``pip3 install --upgrade pip``).
Subsequently, please follow first the instructions in https://github.com/Orkis-Research/Pytorch-Quaternion-Neural-Networks to install the Quaternion Convolution layer code.

## Dataset

The data used for the paper may be downloaded from [this google drive link](https://drive.google.com/file/d/1tDjFgLaDxl7gcOw9NPfWjAl3sCNvEhyv/view?usp=sharing).
Unzip the tgz file so that a ```fixtures/bessarion-midi``` folder is created under the repository home directory.

## Code execution

The main executable is ```quaternion-gan.py```, which will train the model using data found in the ```fixtures/``` folder.
You can use the code by supplying your own data, which should come in pairs of image (png) and annotation (npz) files (see BessarionMini class for details).

If you find the paper and/or the code useful, please cite the paper using the following bibtex code:

```
@inproceedings{sfikas2021quaternionGAN,
title={Quaternion Generative Adversarial Networks for Inscription Detection in Byzantine Monuments},
author={Sfikas, Giorgos and Giotis, A.P. and Retsinas, George and Nikou, Christophoros},
booktitle={2^{nd} International Workshop on Pattern Recognition for Cultural Heritage (PatReCH)},
year={2021}
}
```