Traceback (most recent call last):


 "imagenet_example.py", line 248, in <module>

main(get_args())


 "imagenet_example.py", line 229, in main

model = ImageNetLightningModel(hparams)
TypeError: Can't instantiate abstract class ImageNetLightningModel with abstract methods forward

Traceback (most recent call last):
 
 "<ipython-input-1-ccf0947de573>", line 352, in nn_smac

incumbent = smac.optimize()
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/facade/smac_facade.py", line 410, in optimize

fn=os.path.join(self.output_dir, "runhistory.json")
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 333, in save_json

"configs": configs}, fp, cls=EnumEncoder)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/__init__.py", line 179, in dump

for chunk in iterable:
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 430, in _iterencode

yield from _iterencode_dict(o, _current_indent_level)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict

yield from chunks
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 437, in _iterencode

o = _default(o)
 
 "/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 38, in default

return json.JSONEncoder.default(self, obj)
 
 "/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 180, in default

o.__class__.__name__)
TypeError: Object of type 'function' is not JSON serializable