person_generation_spt icon indicating copy to clipboard operation
person_generation_spt copied to clipboard

[Lotayou] 20190715: Python3 compatible branch

Open Lotayou opened this issue 5 years ago • 0 comments

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:

  • Ubuntu 18.04
  • Python 3.6.5
  • CUDA 9.0
  • Pytorch 1.0.0

Lotayou avatar Jul 15 '19 02:07 Lotayou