File size: 1,048 Bytes
3f923db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81dd28a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3f923db
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
license: apache-2.0
language:
- en
- tr
metrics:
- accuracy
base_model:
- microsoft/resnet-50
pipeline_tag: image-classification
library_name: keras
tags:
- image-classification
- resnet50
- transfer-learning
---
# ALSATIX ResNet50 Model

This model is trained to classify images into 5 categories:

1. **Alkol**: Alcohol-related images
2. **Normal**: Regular images
3. **NSFW**: Not Safe for Work images
4. **Silah**: Weapon-related images
5. **Tutun**: Tobacco-related images

## Model Architecture
- Base: ResNet50 pre-trained on ImageNet
- Custom top layers: Dense (256 units), Dropout (0.5), Output (5 classes)

## Usage

To use this model for image classification:

```python
from transformers import TFAutoModelForImageClassification, AutoImageProcessor

model = TFAutoModelForImageClassification.from_pretrained("iammbrn/alsatix_image_control_model")
processor = AutoImageProcessor.from_pretrained("iammbrn/alsatix_image_control_model")

# Preprocess your image
image = processor(image, return_tensors="pt")
predictions = model(**image)