GantMan / nsfw_model

Keras model of NSFW detector
Other
1.8k stars 279 forks source link

Feature: Chose in what format to save #114

Open Edouard127 opened 2 years ago

Edouard127 commented 2 years ago

You can either chose to save it in .h5 or .pb

model.save("nsfw." + str(width) + "x" + str(height)) for .pb It creates a folder with assets keras_metadata.pb saved_model.pb variables

And model.save("nsfw." + str(width) + "x" + str(height)) + ".h5" for .h5