SijieSong / person_generation_spt

PyTorch Implementation for Unsupervised Person Image Generation with Semantic Parsing Transformation
110 stars 22 forks source link

[Lotayou] 20190715: Python3 compatible branch #2

Open Lotayou opened 5 years ago

Lotayou commented 5 years ago

Using 2to3 for a pre-screening and reformatting, then fix the float division problem by changing all / to //. Also, a bug related to string processing is fixed, where split('\r\n')[0] method is replaced with strip('\n').

Demo script has passed test under following environments: