dtacAI-beta / README.md
GGXV1's picture
Upload folder using huggingface_hub
ca60dee verified
---
language:
- th
- en
- zh
license: apache-2.0
tags:
- image-classification
- ai-generated-detection
---
# dtacAI-beta
## Description / รายละเอียด / 描述
**[TH]** โมเดลนี้ถูกสร้างขึ้นเพื่อแยกแยะระหว่างภาพที่สร้างโดย AI และภาพถ่ายจริง โดยใช้โครงสร้าง CNN ในการวิเคราะห์
**[EN]** This model is designed to classify AI-generated images vs. real human-created photos using a CNN architecture.
**[ZH]** 该模型旨在通过 CNN 架构识别 AI 生成的图像与真实照片。
## Training Metrics / ประสิทธิภาพการเทรน / 训练指标
![Training Metrics](training_metrics.png)
## How to Use / วิธีใช้งาน / 如何使用
### [EN] Python/TensorFlow:
```python
import tensorflow as tf
model = tf.keras.models.load_model('dtacAI_beta_model.h5')
# Preprocess image to (150, 150) and rescale (1./255)
```
### [TH] การใช้งาน:
โมเดลต้องการภาพขนาด 150x150 พิกเซล และต้องทำการหารค่าพิกเซลด้วย 255 (Rescale) ก่อนนำเข้าโมเดล
### [ZH] 用法:
模型需要 150x150 像素的图像,并在预测前将像素值缩放为 1/255。