def __init__(self, model_path):
		"""
		Takes a model path and calls the load function.
		:param model_path: The model's path
		:return:
		"""
		self.labels = []
		self.configuration = {}
		self.model_path = model_path
		try:
			self.validate_configuration()
		except ApplicationError as e:
			raise e
		try:
			self.load()
		except ApplicationError as e:
			raise e
		except Exception as e:
			print(e)
			raise ModelNotLoaded()

		Takes a model path and calls the load function.
		:param model_path: The model's path
		:return:
		
inference_api/src/main/inference/base_inference_engine.py