You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Object of type date is not JSON serializable
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/supervised/base_automl.py", line 1195, in _fit
trained = self.train_model(params)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/supervised/base_automl.py", line 407, in train_model
mf.save(results_path, model_subpath)
File "/opt/conda/lib/python3.11/site-packages/supervised/model_framework.py", line 637, in save
fout.write(json.dumps(desc, indent=4))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/init.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 202, in encode
chunks = list(chunks)
^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 432, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 326, in _iterencode_list
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 326, in _iterencode_list
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 439, in _iterencode
o = _default(o)
^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type date is not JSON serializable
The text was updated successfully, but these errors were encountered:
Object of type date is not JSON serializable
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/supervised/base_automl.py", line 1195, in _fit
trained = self.train_model(params)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/supervised/base_automl.py", line 407, in train_model
mf.save(results_path, model_subpath)
File "/opt/conda/lib/python3.11/site-packages/supervised/model_framework.py", line 637, in save
fout.write(json.dumps(desc, indent=4))
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/init.py", line 238, in dumps
**kw).encode(obj)
^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 202, in encode
chunks = list(chunks)
^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 432, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 326, in _iterencode_list
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 326, in _iterencode_list
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 406, in _iterencode_dict
yield from chunks
File "/opt/conda/lib/python3.11/json/encoder.py", line 439, in _iterencode
o = _default(o)
^^^^^^^^^^^
File "/opt/conda/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type date is not JSON serializable
The text was updated successfully, but these errors were encountered: