deepkit / deepkit-ml

The collaborative real-time open-source machine learning devtool and training suite: Experiment execution, tracking, and debugging. With server and project management tools.
https://ml.deepkit.io
MIT License
365 stars 23 forks source link

Invalid yaml causes GUI to freeze #13

Open planetceres opened 4 years ago

planetceres commented 4 years ago

If yaml in deepkit.yml contains syntax errors, the GUI freezes when trying to start a new experiment and displays "Loading.." while becoming unresponsive. Closing and restarting fixes this, but it would be nice to get a more subtle error message that was less of an interruption to workflows.

deepkit_issue_003

marcj commented 4 years ago
  1. What version do you use?
  2. Is this a project linked with Git or is it linked with a local folder?

With the current version this is not reproducible with projects linked to a local folder. Invalid configuration files are currently simply hidden.

I found an issue that no configurations are showed when at least one has errors in it, but only for projects linked with Git. No hanging "Loading ..." issue tho. I've fixed that in https://github.com/deepkit/deepkit/commit/53f6f5753cae1ba3c6f2bd83e4e989437df19470