GantMan / nsfw_model

Keras model of NSFW detector
Other
1.75k stars 273 forks source link

exit with code 4 #158

Open Hassan-Sabah opened 7 months ago

Hassan-Sabah commented 7 months ago

when i try to run my script the module do not give me any error or resut

from nsfw_detector import predict

model = predict.load_model('/nsfw_mobilenet2.224x224.h5')

s=predict.classify(model, 'rr.jpeg') print(s)

and the output is

[Finished in 0.4s with exit code -4] [shell_cmd: python -u "/home/ash/Desktop/nega/testing.py"] [dir: /home/ash/Desktop/nega] [path: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin]

nothing else