Download ScaleDF_rebuttal/python_dedup_pkgs/onnxruntime/tools/logger.py from VideoUFO/ResearchData_P1: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/datasets/VideoUFO/ResearchData_P1/resolve/main/ScaleDF_rebuttal/python_dedup_pkgs/onnxruntime/tools/logger.py
- Command line
-
hf download hf://datasets/VideoUFO/ResearchData_P1/ScaleDF_rebuttal/python_dedup_pkgs/onnxruntime/tools/logger.py
-
curl -L -o logger.py https://huggingface.co/datasets/VideoUFO/ResearchData_P1/resolve/main/ScaleDF_rebuttal/python_dedup_pkgs/onnxruntime/tools/logger.py
322 Bytes
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. | |
| import logging | |
| def get_logger(name, level=logging.DEBUG): | |
| logging.basicConfig(format="%(asctime)s %(name)s [%(levelname)s] - %(message)s") | |
| logger = logging.getLogger(name) | |
| logger.setLevel(level) | |
| return logger | |