Clear Filters
Clear Filters

How can I disable source control for Deep Learning Experiment Manager?

4 views (last 30 days)
When using Deep Learning Experiment Manager in MATLAB R2021a with a project in a folder with a checked out Git repository, some tasks (Saving an Experiment, Running an Experiment) take an extremely long time and are constantly reading the hard disk, albeit only ~300 KB/s. If I look in the Project window, I see 1 Task, "Getting status for files" which seems to be always running (even when I first load the project and haven't saved anything yet). Clicking the red (X) next to the task has no effect. There is also Git information printed in a panel right above that task notification.
This problem does not seem to happen if I create a project outside of a checked out Git repository folder, so that leads me to believe it is source-control related.
I have disabled source control integration in the main MATLAB Preferences -> General -> Source Control but this has no effect on this problem.
So my question is, how can I disable source control in my Deep Learning Experiment Project? Or, what else could be causing the extremely long times? I'm not exactly sure when this problem began, but it wasn't happening when I first used Experiment Manager.
Thank you.

Answers (1)

Tim Hosey
Tim Hosey on 2 Sep 2021
Edited: Tim Hosey on 3 Sep 2021
The preference to turn off source control only relates to MATLAB's current folder browser. In the project, source control has to be turned off on a per project basis.
For a project under git, click on Git details button in the project toolstrip. In the UI that appears you can then select “none” in the list of available integrations.
MATLAB listens to changes in the .git folder that MATLAB’s git integration didn’t cause and will refresh the source control status if changes are detected. These updates could be caused by an external git client, but also possibly by a file synchronization service like OneDrive.

Categories

Find more on Source Control Integration in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!