rctzeng / GAIN

implementation of Guided Attention Inference Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GAIN-tensorflow [under construction]

Note: the code is not stable and some functions are still under construction

The repository holds the implementation of GAIN, and the segmentation network mainly borrows the code from from xtudbxk/SEC-tensorflow.

Prerequisite

Train GAIN network

  • Training: python [model].py -g <gpu_id> -f <gpu_fraction> <-c if you'd like to train with CRF>
  • Predicting Mask: python [model].py -g <gpu_id> -f <gpu_fraction> -a inference

About

implementation of Guided Attention Inference Network


Languages

Language:Python 100.0%