See Resolving Referring Expressions in Images With Labeled Elements for details.
Tested with tensorflow version 1.11.0
The code in the deeplab directory is copied from https://github.com/tensorflow/models/tree/master/research/deeplab
More documentation coming soon.