Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training monitor enhancements #691

Merged
merged 4 commits into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
python-version: 3.7
- name: Install Dependencies
run: |
pip install black==20.8b1
pip install click==8.0.4
pip install black==21.6b0
- name: Run Black
run: |
black --check sleap tests
Expand Down
3 changes: 2 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ twine==3.3.0
PyGithub
jupyterlab
jedi==0.17.2
ipykernel
ipykernel
click==8.0.4
4 changes: 2 additions & 2 deletions sleap/gui/learning/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def run_gui_training(
trained_job_paths = dict()

if gui:
from sleap.nn.monitor import LossViewer
from sleap.gui.widgets.monitor import LossViewer
from sleap.gui.widgets.imagedir import QtImageDirectoryWidget

# open training monitor window
Expand Down Expand Up @@ -603,7 +603,7 @@ def run_gui_training(

if gui:
print("Resetting monitor window.")
win.reset(what=str(model_type))
win.reset(what=str(model_type), config=job)
win.setWindowTitle(f"Training Model - {str(model_type)}")
win.set_message(f"Preparing to run training...")
if save_viz:
Expand Down
Loading