GantMan / GantMan/nsfw_model

Incorrect NSFW Classification for Civilization VI Leaders' Images

Open
#155 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm experiencing an issue where images of leaders from Civilization VI, like Chandragupta and Alexander the Great, are mistakenly flagged as NSFW by the model. Interestingly, similar images of shirtless men don't trigger the same error. Could you please look into this?

Thanks,

I used those images for test and it's been flagged as NSFW:
![5c8e991e8332932af03ae7cbb2ea2839](https://github.com/GantMan/nsfw_model/assets/111288150/7813468f-9946-4e7c-bdf2-284d98559ddf)
![1d1b613a0ed61e8c8b8039eadd693673](https://github.com/GantMan/nsfw_model/assets/111288150/6db73012-60da-41d3-a3c3-e27e093954dd)

those will not trigger:
![22add18ee1fe25b3498106819a730865](https://github.com/GantMan/nsfw_model/assets/111288150/99457839-92da-4884-a36c-a17a6d824067)
![af02d9403d17b7178dec0adc4ba1bc34](https://github.com/GantMan/nsfw_model/assets/111288150/b25c6882-01ab-49db-a9d2-a0e073588521)

Strangely, it seems that combining the two images above triggers the NSFW detection.

I've also discovered a certain type of meme that consistently triggers the NSFW detection
![1b30a21f550652993f6ea221e6e11e5e](https://github.com/GantMan/nsfw_model/assets/111288150/c19d9516-c6c3-4e28-8631-e912394e2546)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Start by reproducing the model's classifications with the linked Civilization VI, shirtless-men, combined, and meme images, then trace the model and training-data entry points to identify the false-positive cause. Done means the reported images no longer receive incorrect NSFW classifications without regressing the comparison cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
keras, python
Domain
machine-learning
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.