GantMan / nsfw_model

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

floating point number issues #108

Open ThisLimn0 opened 2 years ago

ThisLimn0 commented 2 years ago

E:\GitHub\test.jpg size: (224, 224) { "E:\GitHub\test.jpg": { "drawings": 5.642194810207002e-05, "hentai": 3.605247547966428e-05, "neutral": 0.9992769360542297, "porn": 1.0149957461180747e-06, "sexy": 0.0006295803468674421 } }

I'm getting floating point number issues. Maybe add rounding to circumvent this?