File size: 1,443 Bytes
ca60dee | 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 |
---
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 / ประสิทธิภาพการเทรน / 训练指标

## 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。
|