Machine Learning Training Utilities (for TensorFlow and PyTorch)
Repo pythonlessons/mltu, read from GitHub 22 h ago. pythonlessons has not joined Take My Repo.
mltu.dataProvider.DataProvider to raise ValueError when dataset is not iterableTutorials\11_Yolov8\train_yolov8.pyTutorials\11_Yolov8\test_yolov8.pyRandomElasticTransform in mltu.augmentors to handle elastic transformation not to exceed image boundariesYoloPreprocessor in mltu.torch.yolo.preprocessors to output dictionary with np.arrays istead of listsRandomElasticTransform to mltu.augmentors to work with Image objectsxyxy_abs to mltu.annotations.detections.Detection object to return absolute bounding boxesImageShowCV2 transformer in mltu.transformers to display images when running with multiple threadsTutorials.11_Yolov8.README.mdloss_info local variable in mltu.torch.model.Model objectRandomColorMode and RandomZoom into mltu.augmentorsmltu.transformers.ImageNormalizer to normalize and transpose imagesmltu.torch.yolo.annotation.VOCAnnotationReader to read VOC annotation filesmltu.torch.yolo.preprocessors.YoloPreprocessor to preprocess images and annotations for YoloV8 detection modelmltu.augmentors.RandomRotate to work with Detections objectsimportlib to import librosa in mltu.preprocessors to avoid import errorsmltu.torch.model.Model object to provide more flexibility in training and validationmltu.torch.callbacks to provide more flexibility in training and validationmltu.torch.detection module, that contains Detections and Detection objects, to handle detection annotationsRandomDropBlock and RandomDropBlock augmentors into mltu.augmentors to work with Detections objectsModelEMA into mltu.torch.model to work with EMA (Exponential Moving Average) modelFpsWrapper into mltu.inferenceModel to automatically calculate FPS (Frames Per Second) when using inference modelmltu.torch.yolo.detector.BaseDetector as a base class for preprocessing and postprocessing detection modelsmltu.torch.yolo.detector.onnx_detector.Detector as a class to handle YoloV8 onnx model detection inferencemltu.torch.yolo.detector.torch_detector.Detector as a class to handle YoloV8 torch model detection inferencemltu.torch.yolo.loss.v8DetectionLoss as a class to handle YoloV8 detection loss in trainingmltu.torch.yolo.metrics.YoloMetrics as a class to handle YoloV8 detection metrics in training and validationmltu.torch.yolo.optimizer module, that contains AccumulativeOptimizer object and build_optimizer function, to handle YoloV8 detection optimizer in trainingTutorials.11_yolov8 that shows how to do basic inference with torch and exported onnx models