-
Notifications
You must be signed in to change notification settings - Fork 0
CARE_on_image.py: #9
Copy link
Copy link
Open
Labels
02 - type - featurea feature to be addeda feature to be added12 - priority - normaldo/fix on next releasedo/fix on next release23 - category - inferencerelated to ml inferencerelated to ml inference
Description
Metadata
Metadata
Assignees
Labels
02 - type - featurea feature to be addeda feature to be added12 - priority - normaldo/fix on next releasedo/fix on next release23 - category - inferencerelated to ml inferencerelated to ml inference
CARE_on_image.pydoes not currently accept asynchronous execution through MATLAB. The--matlabparameter still exists, but raises exception when used. This parameter is for MATLAB and Python to be running asynchronously and continuously passing data between them. This is an ideal approach because it means that the PythonInferenceEngine--which requires overhead to initialize--could be initialized once and only once.Previously, the approach was to use the MATLAB workspace as a repository to communicate between MATLAB and Python processes, with variables such as
However, this approach failed because MATLAB does not support truly asynchronous modifications to the workspace. Any time a process is running in the MATLAB window, Python cannot make changes to the workspace.
The asynchronous approach could still be possible through a different approach! There are two options for this:
.jsonfile as a communication vehicle