冲突排查

This commit is contained in:
2024-06-21 15:39:42 +08:00
parent 61d7bc1457
commit fc73576b34
2 changed files with 8 additions and 3 deletions

View File

@@ -27,7 +27,12 @@
# send_an_error_email(program_name='照片审核关键信息抽取脚本', error_name=repr(e), error_detail=traceback.format_exc())
# # 释放显存
# paddle.device.cuda.empty_cache()
from photo_review.photo_review import main
import logging.config
from config.log import LOGGING_CONFIG
from photo_review import photo_review
if __name__ == '__main__':
main()
logging.config.dictConfig(LOGGING_CONFIG)
log = logging.getLogger()
photo_review.main()