-
Notifications
You must be signed in to change notification settings - Fork 119
Description
Discussed in #1186
Originally posted by sssua-sx February 23, 2023
hi.
when i clicked [run training ] and set up some parameter to click [run] , i saw a new interface. But it pops up very quickly that "An error occurred while training centroid. Your command lineterminal may have more information about the error",and the interface disappeared. I didn't find an error in the terminal and the terminal kept running until I saw that "Finished training centered_instance." I don't know what I'm supposed to do and I don't see any changes in the training video.
Problem Analysis
I experienced the same issue and found that it is due to a proc.returncode of 1 even though the operation was seemingly successful (i.e., checking the predictions in the Saved predictions: ... file, the predictions look good).
sleap/sleap/gui/learning/runners.py
Lines 853 to 860 in 1c75ab8
| if proc.returncode == 0: | |
| ret = "success" | |
| else: | |
| ret = proc.returncode | |
| print("Run Path:", run_path) | |
| return run_path, ret |
I am looking into this issue to see what may have changed to cause this, although I have an inkling it is this line.
Liezl