This package provides sample loggers.
Project description
Deep Learning Tools for Pytorch
This package provides some common configurations to quickly create your own logger through the logging library.
Installation
pip install sample_loggers
Example for using
import os
import logging
from loggers import LoggerController
os.makedirs('./output', exist_ok=True)
logger_controller = LoggerController(log_file_name="log.txt" ,output_dir=config.OUTPUT)
logger = logger_controller.create_logger(
logger_name='food_classification',
log_level=logging.DEBUG,
format_type="default"
)
Update
- 0.0.2post2 - Fix the bug.
- 0.0.2post1 - Fix the bug.
- 0.0.2 - Add the summery and throughput method.
- 0.0.1 - We provide the common config for logging to create logger.
License
Sample Loggers is MIT licensed. See the LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sample_loggers-0.0.2.post2.tar.gz.
File metadata
- Download URL: sample_loggers-0.0.2.post2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a6a7060e947d5888aa7ab063916cec38dcaca3397abcb0b6cba49a4e536b84d
|
|
| MD5 |
65e5225a25d34e2fd4aba24ac11ebedf
|
|
| BLAKE2b-256 |
ec630939b3f736aee4911fea5f5de27c1ec10fc94d317e6b7e64adccc78b151d
|
File details
Details for the file sample_loggers-0.0.2.post2-py3-none-any.whl.
File metadata
- Download URL: sample_loggers-0.0.2.post2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
633bae5ee5003d4654c73f7f45622bbae26cf30df2abaae3620e6f0bf23b7592
|
|
| MD5 |
fc967e9626cd62c8c4b9a38f7b27c3a3
|
|
| BLAKE2b-256 |
77481e95e251f7e7f2958c3779de6c520bba383f3be32149326bc67827b6733c
|