Skip to content

Commit 4646de7

Browse files
author
arch
committed
comment log message
1 parent 2f795ea commit 4646de7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

funscript_editor/algorithms/funscriptgenerator.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def tracking(self) -> str:
701701

702702
if self.was_key_pressed('q') or cv2.waitKey(1) == ord('q'):
703703
status = 'Tracking stopped by user'
704-
self.delete_last_tracking_predictions(int((self.get_average_tracking_fps()+1)*2.0))
704+
self.delete_last_tracking_predictions(int((self.get_average_tracking_fps()+1)*2.1))
705705
break
706706

707707
(successWoman, bboxWoman) = trackerWoman.result()
@@ -965,8 +965,9 @@ def run(self) -> None:
965965
self.create_funscript(idx_dict)
966966
self.finished(status, True)
967967
except Exception as ex:
968-
self.logger.critical("The program crashed due to a fatal error. " \
969-
+ "Please open an issue on github with the corresponding log file (" \
970-
+ ','.join(get_logfiles_paths()) + ") and application configuration (" \
971-
+ SETTINGS_CONFIG_FILE + ", " + HYPERPARAMETER_CONFIG_FILE + ")", exc_info=ex)
968+
self.logger.critical("The program crashed die to a fatal error", exc_info=ex)
969+
# self.logger.critical("The program crashed due to a fatal error. " \
970+
# + "Please open an issue on github with the corresponding log file (" \
971+
# + ','.join(get_logfiles_paths()) + ") and application configuration (" \
972+
# + SETTINGS_CONFIG_FILE + ", " + HYPERPARAMETER_CONFIG_FILE + ")", exc_info=ex)
972973
self.finished("The program crashed due to a fatal error", False)

0 commit comments

Comments
 (0)