Traceback (most recent call last):

 "setup.py", line 4, in <module>
from setuptools import setup, find_packages

 "/usr/local/lib/python3.4/dist-packages/setuptools/**init**.py", line 12, in <module>
from setuptools.extension import Extension

 "/usr/local/lib/python3.4/dist-packages/setuptools/extension.py", line 8, in <module>
from .dist import _get_unpatched

 "/usr/local/lib/python3.4/dist-packages/setuptools/dist.py", line 21, in <module>
packaging = pkg_resources.packagingAttributeError: 'module' object has no attribute 'packaging'
I have trained a model using Keras and SM, when I tried to load the model for prediction, I have got the following Error: `Traceback (most recent call last):


 "D:\Saudi_CV\Vibot\Smester_2\2_Medical Image analysis\Project_2020\DL_Project\My_Project\EXE\Nifti_GUI.py", line 394, in setExisting


prediction('temporary')


 "D:\Saudi_CV\Vibot\Smester_2\2_Medical Image analysis\Project_2020\DL_Project\My_Project\EXE\predict.py", line 17, in prediction

model = tf.keras.models.load_model("ResNet_34_Aug.h5")


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\saving\save.py", line 146, in load_model

return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\saving\hdf5_format.py", line 184, in load_model_from_hdf5

training_config, custom_objects))


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\training\tracking\base.py", line 457, in _method_wrapper

result = method(self, *args, **kwargs)


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training.py", line 409, in compile

self.loss, self.output_names)


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py", line 1447, in prepare_loss_functions

loss_functions = [get_loss_function(loss) for _ in output_names]


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py", line 1447, in <listcomp>

loss_functions = [get_loss_function(loss) for _ in output_names]


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\engine\training_utils.py", line 1181, in get_loss_function

loss_fn = losses.get(loss)


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\losses.py", line 1184, in get

return deserialize(identifier)


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\losses.py", line 1175, in deserialize

printable_module_name='loss function')


 "F:\Download_2019\Anaconda3\lib\site-packages\tensorflow_core\python\keras\utils\generic_utils.py", line 322, in deserialize_keras_object

raise ValueError('Unknown ' + printable_module_name + ':' + object_name)
ValueError: Unknown loss function:binary_crossentropy_plus_jaccard_loss
