Spaces:
Sleeping
Sleeping
Download src/data/__init__.py from DocForg/Document_Forgery_Detection: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/547247c3d0cef35eb84e0fcdfe1190f1bb6872ef/src/data/__init__.py
- Command line
-
hf download hf://spaces/DocForg/Document_Forgery_Detection@547247c3d0cef35eb84e0fcdfe1190f1bb6872ef/src/data/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/DocForg/Document_Forgery_Detection/resolve/547247c3d0cef35eb84e0fcdfe1190f1bb6872ef/src/data/__init__.py
522 Bytes
| """Data module""" | |
| from .preprocessing import DocumentPreprocessor, preprocess_image | |
| from .augmentation import DatasetAwareAugmentation, get_augmentation | |
| from .datasets import ( | |
| DocTamperDataset, | |
| RTMDataset, | |
| CASIADataset, | |
| ReceiptsDataset, | |
| get_dataset | |
| ) | |
| __all__ = [ | |
| 'DocumentPreprocessor', | |
| 'preprocess_image', | |
| 'DatasetAwareAugmentation', | |
| 'get_augmentation', | |
| 'DocTamperDataset', | |
| 'RTMDataset', | |
| 'CASIADataset', | |
| 'ReceiptsDataset', | |
| 'get_dataset' | |
| ] | |