Imported from https://github.com/LouieYang/stroke-controllable-fast-style-transfer