Skip to main content

A logger to log the model training, etc.

Project description

Model Logger

Python >= 3.8

A package that contains method to log the model training log.

The package is an uncompleted package in the version 1.x. Its functions will be gradually improved in subsequent versions.

How to use

import os
import model_logger_dp

os.environ['LOG_PATH'] = './output/log'  # Set the directory for logs

# If you want to save the log with a specific file name, you should set the filename parameter.
# If you do not set the filename parameter, the log will be saved with a datatime name.
logger  = model_logger_dp.ModelLogger(filename='train.log')

# Use the print method to log the message.
print('Hellow World!')

Update

`1.0.0` - Initial release with basic logging functionality.

License

model_logger is MIT licensed. See the LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

model_logger_dp-1.0.0.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file model_logger_dp-1.0.0.tar.gz.

File metadata

  • Download URL: model_logger_dp-1.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for model_logger_dp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 18e63c4e74ac0772c2388226c7bfe9f40e7217425a359a8c19ae9b9434ae602a
MD5 f5039721508f6f1f986b28558660b923
BLAKE2b-256 ec242b9971f132a147ca247604aa93204f08f72dc1f3e2604f7ae189f86a12a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page