Traceback (most recent call last):


 "e:\python38\lib\runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "e:\python38\lib\runpy.py", line 87, in _run_code

exec(code, run_globals)


 "E:\Python38\Scripts\dir2pi.exe\__main__.py", line 7, in <module>


 "e:\python38\lib\site-packages\libpip2pi\commands.py", line 316, in dir2pi

return _dir2pi(option, argv)


 "e:\python38\lib\site-packages\libpip2pi\commands.py", line 388, in _dir2pi

cgi.escape(pkg_dir_name),
AttributeError: module 'cgi' has no attribute 'escape'

`Traceback (most recent call last):


 "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/usr/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "/home/aaldahdo/.vscode/extensions/ms-python.python-2020.5.80290/python
s/lib/python/debugpy/no_wheels/debugpy/__main__.py", line 45, in <module>

cli.main()


 "/home/aaldahdo/.vscode/extensions/ms-python.python-2020.5.80290/python
s/lib/python/debugpy/no_wheels/debugpy/../debugpy/server/cli.py", line 430, in main

run()


 "/home/aaldahdo/.vscode/extensions/ms-python.python-2020.5.80290/python
s/lib/python/debugpy/no_wheels/debugpy/../debugpy/server/cli.py", line 267, in run_file

runpy.run_path(options.target, run_name=compat.force_str("__main__"))


 "/usr/lib/python3.8/runpy.py", line 265, in run_path

return _run_module_code(code, init_globals, run_name,


 "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code

_run_code(code, mod_globals, init_globals,


 "/usr/lib/python3.8/runpy.py", line 87, in _run_code

exec(code, run_globals)


 "/home/aaldahdo/adv_dnn/multi_output.py", line 196, in <module>

classifier = KerasClassifier(model=model, clip_values=(0, 1))


 "/home/aaldahdo/adv_dnn/venv/lib/python3.8/site-packages/art/classifiers/keras.py", line 101, in __init__

self._initialize_params(model, use_logits, input_layer, output_layer)


 "/home/aaldahdo/adv_dnn/venv/lib/python3.8/site-packages/art/classifiers/keras.py", line 184, in _initialize_params

loss_function = getattr(k, self._model.loss.__name__)
AttributeError: 'dict' object has no attribute '__name__'`
