umyelab / LabGym

Quantify user-defined behaviors.
GNU General Public License v3.0
66 stars 6 forks source link

Exporting a detector #145

Closed apenemo closed 5 months ago

apenemo commented 5 months ago

Hi

I will soonely l have to use a new virtual machine. I have already trained a detector on my actual one and started generating behavior examples.

If it is possible, how can I export the detector from my actual machine to my next one ?

Thanks a lot

yujiahu415 commented 5 months ago

Hi,

Yes, you can export the Detector.

First, use pip show LabGym to find where LabGym is installed in your computer.

Then, go the LabGym folder, find the subfolder called "detectors". All the trained Detectors are stored there. You can copy / paste a trained Detector to another computer / LabGym / detectors, and it will appear in the Detector list in the GUI of that computer.

apenemo commented 5 months ago

It worked perfectly fine, thanks a lot Yujia !