# NSFW-Python **Repository Path**: hsjjsh123/NSFW-Python ## Basic Information - **Project Name**: NSFW-Python - **Description**: 修改自雅虎开源项目open_nsfw - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2020-08-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### - 修改自:https://github.com/yahoo/open_nsfw - 3.6 - pip 安装requirements.txt - 步骤1:pip install pipreqs - 步骤(生成当前环境依赖)2:pip freeze>requirements.txt - 步骤3:pip install -r requirements.txt [镜像仓库]临时使用: 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple 例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent,这样就会从清华这边的镜像去安装gevent库。 阿里源地址为: https://mirrors.aliyun.com/pypi/simple [镜像仓库]永久使用: linux下,修改 ~/.pip/pip.conf (没有就创建一个), 修改 index-url至tuna,内容如下: [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple windows下,直接在user目录中创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini,内容如下 [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple eg[0~1之间,数值越小说明涉黄级别越高]: Python-->>result:0.1487959921360016,path:http://www.binarydance.top//assets/picture/sex/001/9_e1b.jpg TFLite-->>result:0.1632593274116516,path:http://www.binarydance.top//assets/picture/sex/001/9_e1b.jpg