Open rom1504 opened 1 year ago
Hi, @rom1504, I tried this and got this error:
ValueError: Unknown optimizer: 'Custom>AdamWeightDecay'. Please ensure you are using a
keras.utils.custom_object_scopeand that this object is included in the scope. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.
Hi, @rom1504, I tried this and got this error:
ValueError: Unknown optimizer: 'Custom>AdamWeightDecay'. Please ensure you are using a
keras.utils.custom_object_scopeand that this object is included in the scope. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.
model = tf.keras.models.load_model(path_to_model, compile=False)
Is it possible to inference using torch?
Is it possible to inference using torch?
yes, I have tried.
clip_autokeras_binary_nsfw.zip
conversion notebook: port_nsfw_to_pytorch.zip
from @crowsonkb