Update README.md
Browse files
README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
This model demonstrates the capabilities of a CNN for classifying screenshots as game/reality, using Minecraft as an example:
|
| 8 |
|
|
@@ -10,20 +10,20 @@ This model demonstrates the capabilities of a CNN for classifying screenshots as
|
|
| 10 |
|
| 11 |
- 1 class - Not Minecraft.
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
The hypothesis was that the game Minecraft has distinct 3D voxel graphics, which would allow the model to distinguish photos from the game from photos taken in real life.
|
| 16 |
|
| 17 |
The model was trained on 4,500 screenshot photos from the game and approximately 3,800 photos from real life and other games.
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
The model is a 4‑layer and 3-layer convolutional networks and two linear MLP layers for classification.
|
| 22 |
|
| 23 |
|
| 24 |

|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
The first test was conducted on vanilla Minecraft/real photos.
|
| 29 |
|
|
@@ -41,7 +41,8 @@ Layer count | F1 | Accuracy |
|
|
| 41 |
|
| 42 |
The test results show that the Minecraft/Reality task is simpler for CNN than Minecraft/Similar 3D voxel games. The hypothesis was confirmed for simple examples. For more complex tasks, other methods are required, including increasing the dataset size, changing the problem statement, and providing a better variety of training data.
|
| 43 |
|
| 44 |
-
|
|
|
|
| 45 |
```python
|
| 46 |
from transformers import AutoModel
|
| 47 |
import torch
|
|
|
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# Description
|
| 6 |
|
| 7 |
This model demonstrates the capabilities of a CNN for classifying screenshots as game/reality, using Minecraft as an example:
|
| 8 |
|
|
|
|
| 10 |
|
| 11 |
- 1 class - Not Minecraft.
|
| 12 |
|
| 13 |
+
# Main Idea
|
| 14 |
|
| 15 |
The hypothesis was that the game Minecraft has distinct 3D voxel graphics, which would allow the model to distinguish photos from the game from photos taken in real life.
|
| 16 |
|
| 17 |
The model was trained on 4,500 screenshot photos from the game and approximately 3,800 photos from real life and other games.
|
| 18 |
|
| 19 |
+
# Characteristics
|
| 20 |
|
| 21 |
The model is a 4‑layer and 3-layer convolutional networks and two linear MLP layers for classification.
|
| 22 |
|
| 23 |
|
| 24 |

|
| 25 |
|
| 26 |
+
# Tests
|
| 27 |
|
| 28 |
The first test was conducted on vanilla Minecraft/real photos.
|
| 29 |
|
|
|
|
| 41 |
|
| 42 |
The test results show that the Minecraft/Reality task is simpler for CNN than Minecraft/Similar 3D voxel games. The hypothesis was confirmed for simple examples. For more complex tasks, other methods are required, including increasing the dataset size, changing the problem statement, and providing a better variety of training data.
|
| 43 |
|
| 44 |
+
# Inferense example
|
| 45 |
+
|
| 46 |
```python
|
| 47 |
from transformers import AutoModel
|
| 48 |
import torch
|