Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lotayou] 20190715: Python3 compatible branch #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Lotayou
Copy link

@Lotayou Lotayou commented Jul 15, 2019

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

hhhzzm and others added 2 commits July 15, 2019 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants