Deepgrow python-client "object has no attribute session"

Hi, I successfully used the python-client for segmentation. However, deepgrow is returning an error in the “client_api.py
I tried it with(out) a session_id and it gives me the same error. With(out) session_id for segmentation works fine.
Line 66 works, line 73 returns an error - in both situations where session_id is a valid session or when session_id = None


The error in both cases is:

what is the definition of the function segmentation and deepgrow here.

I think seeing from your code these are different than: https://github.com/NVIDIA/ai-assisted-annotation-client/blob/3be6fb64e1cdcd444a58d07c7ce89267d851d2cc/py-client/client_api.py#L199

As the function definition there is “def segmentation(self, model, image_in, image_out, session_id=None):”
so the model should be in the first argument when calling?