Traceback (most recent call last):


 "C:/Users/MPERIN/Git/labelautomation/labelmodel.py", line 79, in <module>

json.dump(src_prj.labels.list(all=True)[0], outfile)


 "C:\Users\MPERIN\AppData\Local\Continuum\miniconda3\envs\labelautomation\lib\json\__init__.py", line 179, in dump

for chunk in iterable:


 "C:\Users\MPERIN\AppData\Local\Continuum\miniconda3\envs\labelautomation\lib\json\encoder.py", line 438, in _iterencode

o = _default(o)


 "C:\Users\MPERIN\AppData\Local\Continuum\miniconda3\envs\labelautomation\lib\json\encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type ProjectLabel is not JSON serializable

Traceback (most recent call last):


 "/tmp/test_typeoftarget.py", line 12, in <module>

print('{} -> {}'.format(k, type_of_target(v)))


 "/home/sik/miniconda3/lib/python3.6/site-packages/sklearn/utils/multiclass.py", line 267, in type_of_target

if y.ndim > 2 or (y.dtype == object and len(y) and
TypeError: len() of unsized object
