Transformers

This is a data processor for the Community Forensics classifiers. Detailed instructions will be updated at the Community Forensics GitHub_repo in the future.

Simple usage example.

dataprocessor_hf.py is included in this repository.

import dataprocessor_hf as dphf
from PIL import Image
data_processor = dphf.CommForImageProcessor.from_pretrained('OwensLab/commfor-data-preprocessor', size=384)
img = Image.open('path_to_img.png')
processed_image = data_processor(img, mode='test')
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train OwensLab/commfor-data-preprocessor