Fine-tuned model: HuggingFace
Set up the environment with the following commands:
conda create -n nsfw python=3.10
pip install -r requirements.txtpython gather_img_to_txt.py
CUDA_VISIBLE_DEVICES=0,1 python vit_finetune_nsfw.pypython afs_nsfw_img_cls.py
[models](https://huggingface.co/HitPawOfficial/HitPawImage/tree/main/NSFWImageClassification)
### Demo
```bash
python demo.pySpeed and memory: On an RTX 4090, testing one single-person image takes 0.15s with 1GB VRAM usage.
Demo:
