Solve SyntaxError: invalid character in identifier error report

Problem Description

When running SketchRNN:

def forward(self, inputs,hidden):

Report the following error:

SyntaxError: invalid character in identifier

solution

Please check that there are no Chinese spaces, tabs, etc., or non-English characters in the code line.

Change to:

def forward(self, inputs, hidden):

Guess you like

Origin blog.csdn.net/qq_54708219/article/details/129900471