Spaces:
Sleeping
Sleeping
Download src/utils/__init__.py from DocForg/Document_Forgery_Detection: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/main/src/utils/__init__.py
- Command line
-
hf download hf://spaces/DocForg/Document_Forgery_Detection/src/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/main/src/utils/__init__.py
621 Bytes
| """Utilities module""" | |
| from .plotting import ( | |
| plot_training_curves, | |
| plot_confusion_matrix, | |
| plot_feature_importance, | |
| plot_dataset_comparison, | |
| plot_chunked_training_progress, | |
| generate_training_report | |
| ) | |
| from .export import ( | |
| export_to_onnx, | |
| export_to_torchscript, | |
| quantize_model | |
| ) | |
| __all__ = [ | |
| 'plot_training_curves', | |
| 'plot_confusion_matrix', | |
| 'plot_feature_importance', | |
| 'plot_dataset_comparison', | |
| 'plot_chunked_training_progress', | |
| 'generate_training_report', | |
| 'export_to_onnx', | |
| 'export_to_torchscript', | |
| 'quantize_model' | |
| ] | |