upload_preset

[source]

upload_preset function

keras_hub.upload_preset(uri, preset)

Upload a preset directory to a model hub.

Arguments

  • uri: The URI identifying model to upload to. URIs with format kaggle://<KAGGLE_USERNAME>/<MODEL>/<FRAMEWORK>/<VARIATION> will be uploaded to Kaggle Hub while URIs with format hf://[<HF_USERNAME>/]<MODEL> will be uploaded to the Hugging Face Hub.
  • preset: The path to the local model preset directory.