Skip to content

TensorFlow implementation of Automatic Portrait Segmentation

License

Notifications You must be signed in to change notification settings

Corea/automatic-portrait-tf

Repository files navigation

TensorFlow implementation of Automatic Portrait Segmentation

Setup

Dependencies

  • Python 3.6+
  • TensorFlow 1.6+
  • caffe (only use to transform pretrained model)

Prepare environment, model and data

$ pip install -r requirements.txt
$ wget http://dl.caffe.berkeleyvision.org/fcn8s-heavy-pascal.caffemodel
$ python caffe_mat_transform.py
$ mkdir model
$ cd data
$ python data_download.py

Usage

Training

$ python train.py

Testing

$ python test.py

References

About

TensorFlow implementation of Automatic Portrait Segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages