Closed wwzh2015 closed 3 years ago
Now trainning happend that tips:"json.decoder.JSONDecodeError: Expecting ',' delimiter: line 35 column 2 (char 1325) ",] tensorflow 1.15.4.
Traceback (most recent call last):
File "axelerate/train.py", line 188, in
class JSONDecodeError(ValueError): """Subclass of ValueError with the following additional properties:
msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
lineno: The line corresponding to pos
colno: The column corresponding to pos
"""
# Note that this exception is used from _json
def __init__(self, msg, doc, pos):
lineno = doc.count('\n', 0, pos) + 1
colno = pos - doc.rfind('\n', 0, pos)
errmsg = "%s: line %d column %d (char %d)" % (msg,lineno,colno,pos)
ValueError.__init__(self, errmsg) **←//this is 35 line**
self.msg = msg
self.doc = doc
self.pos = pos
self.lineno = lineno
self.colno = colno
def __reduce__(self):
return self.__class__, (self.msg, self.doc, self.pos)
sorry,nothing problem
What happend?
Note that this exception is used from _json