Coder Social home page Coder Social logo

jiwanseo / meta-autoencoder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kclip/meta-autoencoder

0.0 0.0 0.0 96 KB

Code for the paper "Meta-Learning to Communicate: Fast End-to-End Training for Fading Channels"

Python 33.84% Shell 3.02% Jupyter Notebook 63.14%

meta-autoencoder's Introduction

Meta-Autoencoder

This repository contains code for "Meta-Learning to Communicate: Fast End-to-End Training for Fading Channels" - Sangwoo Park, Osvaldo Simeone, and Joonhyuk Kang.

Dependencies

This program is written in python 3.7 and uses PyTorch 1.2.0 and scipy. Tensorboard for pytorch is used for visualization (e.g., https://pytorch.org/docs/stable/tensorboard.html).

  • pip install tensorboard and pip install scipy might be useful.

Basic Usage

  • Train and test a model:

    To train the autoencoder with default settings, execute

    python main.py
    

    For the default settings and other argument options, see top of main.py

    Once training is done, test will be started automatically based on the trained model.

Toy Example

  • In the 'run/toy' folder, meta-learning, joint training, and fixed initialization schemes can be tested based on the pretrained two autoencoder architectures (vanilla autoencoder, autoencoder with RTN)

    In order to train from scratch, remove '--path_for_meta_trained_net ' part.

    In the 'saved_data/toy/nets' folder, trained models used to generate Fig. 2 can be found (proper paths are given in the shell script).

    In order to regenerate Fig. 3, 'toy_visualization.ipynb' may be useful.

A More Realistic Scenario

  • In the 'run/realistic' folder, meta-learning, joint training, and fixed initialization schemes can be tested based on the pretrained two autoencoder architectures (vanilla autoencoder, autoencoder with RTN)

    In order to train from scratch, remove '--path_for_meta_trained_net ' part.

    In order to train and/or test with new channels, remove '--path_for_meta_training_channels' and/or '--path_for_test_channels' part.

    In the 'saved_data/realistic/nets' folder, trained models used to generate Fig. 4 can be found (proper paths are given in the shell script).

meta-autoencoder's People

Contributors

sangwoo-p 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.