from fastai.transforms import *
from fastai.conv_learner import *
from fastai.model import *
from fastai.dataset import *
from fastai.sgdr import *
from fastai.plots import *
File “/Users/deeppepe/Desktop/Coding/fastai_master/courses/dl1/fastai/core.py”, line 41 if cuda: a = to_gpu(a, async=True)
SyntaxError: invalid syntax
Not sure what’s wrong… I tried doing a clean pull of all the files from Git… and it keeps throwing this error. Any suggestions?
According to Python deprecation plans, async will become a keyword in Python 3.7; it means it can’t be used as an argument name, as it’d be a SyntaxError.