Testing the accuracy of read and write LFW __python txt


python 中 os._exit(), sys.exit()

1, os._exit () do not throw exceptions, the latter code is not executed. Not related to the implementation of clean-up work, exit Python interpreter is generally used in the child thread exit

2, sys.exit () throws an SystemExit an exception, not catch this exception will exit; catch this exception may do some extra cleanup. To exit the main thread. sys.exit (n) n = 0 only is normal exit, the other non-normal exit.

Examples link: Face Recognition Based on the test VGG-Face , which paira.txt Download: http://vis-www.cs.umass.edu/lfw/#views

Guess you like

Origin www.cnblogs.com/exciting/p/11106446.html