Extend breakpoints to be portable to another path
I copied breakpoints from folder to another. When importing the breakpoint, I get the following error:
Fed-BioMed researcher stopped due to exception:
FB410: bad type or value for experiment argument `training_plan_path` : /fedbiomed/var/experiments/Experiment_0004/breakpoint_0039/model_0039.py is not a same path to an existing file
Note that the the path inside the error message seems to be pointing to the old path, because I copied the breakpoint files to another folder (actually, I copied them from epione-demo onto my local machine, to run local testing).
Are breakpoints supposed to be "portable"? I assumed I would be allowed to copy breakpoints to different paths/machines, but maybe this was not the intended usage?
Extension (April 2023)
As part of this task, also consider the following.
As a data scientist, I want to be able to easily "export" a model from a breakpoint into my jupyter notebook. However, currently when I load a breakpoint the corresponding model is only uploaded to the RESTful component, but it is not also loaded in the experiment object.