Traceback (most recent call last):


 "train.py", line 174, in <module>

print(AsciiTable(ap_table).table)


 "/home/wangliyue/.conda/envs/wangliyue/lib/python3.7/site-packages/terminaltables.py", line 223, in table

padded_table_data = self.padded_table_data


 "/home/wangliyue/.conda/envs/wangliyue/lib/python3.7/site-packages/terminaltables.py", line 210, in padded_table_data

column_widths = self.column_widths


 "/home/wangliyue/.conda/envs/wangliyue/lib/python3.7/site-packages/terminaltables.py", line 187, in column_widths

widths[i] = max(widths[i], len(max(row[i].splitlines(), key=len)))
AttributeError: 'numpy.int32' object has no attribute 'splitlines'

Traceback (most recent call last):


 "/home/leondaz/crime_scene/venv/lib/python3.8/site-packages/promise/promise.py", line 489, in _resolve_from_executor

executor(resolve, reject)


 "/home/leondaz/crime_scene/venv/lib/python3.8/site-packages/promise/promise.py", line 756, in executor

return resolve(f(*args, **kwargs))


 "/home/leondaz/crime_scene/venv/lib/python3.8/site-packages/graphql/execution/middleware.py", line 75, in make_it_promise

return next(*args, **kwargs)


 "/home/leondaz/crime_scene/backend/core/saleor/graphql/core/types/money.py", line 25, in resolve_amount

return quantize_price(root.amount, root.currency)
AttributeError: 'decimal.Decimal' object has no attribute 'amount'
