Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Python 3.7: SyntaxError: invalid syntax due to the use of async which is a keyword #142

Open
REASY opened this issue Dec 12, 2020 · 0 comments

Comments

@REASY
Copy link

REASY commented Dec 12, 2020

Followed https://github.com/facebookresearch/ELF#install-scripts and got Python 3.7.9 installed, where async is a keyword: https://www.python.org/dev/peps/pep-0492/#deprecation-plans

At least those places need a fix:

def transfer_cpu2gpu(self, batch_gpu, async=True):

def transfer_cpu2cpu(self, batch_dst, async=True):

image

Other references:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant