Giter Site home page Giter Site logo

deepzip's Introduction

DeepZip

Description

Data compression using neural networks

DeepZip: Lossless Data Compression using Recurrent Neural Networks

Requirements

  1. GPU, nvidia-docker (or try alternative installation)
  2. python 2/3
  3. numpy
  4. sklearn
  5. keras 2.2.2
  6. tensorflow (cpu/gpu) 1.8

(nvidia-docker is currently required to run the code) A simple way to install and run is to use the docker files provided:

cd docker
make bash BACKEND=tensorflow GPU=0 DATA=/path/to/data/

Alternative Installation

cd DeepZip
python3 -m venv tf
source tf/bin/activate
bash install.sh

Code

To run a compression experiment:

Data Preparation

  1. Place all the data to be compressed in data/files_to_be_compressed
  2. Run the parser
cd data
./run_parser.sh

Running models

  1. All the models are listed in models.py
  2. Pick a model, to run compression experiment on all the data files in the data/files_to_be_compressed directory
cd src
./run_experiments.sh biLSTM GPUID

Note: GPUID by default can be set to 0. The corresponding command would be then ./run_experiments.sh biLSTM 0

Please cite if you utilize the code in this repository.


@inproceedings{7fcb664b03ac4d6497048954d756b91f,
title = "DeepZip: Lossless Data Compression Using Recurrent Neural Networks",
author = "Mohit Goyal and Kedar Tatwawadi and Shubham Chandak and Idoia Ochoa",
year = "2019",
month = "5",
day = "10",
doi = "10.1109/DCC.2019.00087",
language = "English (US)",
series = "Data Compression Conference Proceedings",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
editor = "Ali Bilgin and Storer, {James A.} and Marcellin, {Michael W.} and Joan Serra-Sagrista",
booktitle = "Proceedings - DCC 2019",
address = "United States",

}

deepzip's People

Contributors

mohit1997 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.