Loading Keras model from ADLS

crimson
Databricks Partner

I want to load a Keras model using abfss. As far as I know, this is not possible, and the only way of doing this is by copying the model from ADLS to dbfs.

I am concerned about the data governance, as everybody could potentionally modify/delete the model in dbfs. What would be the correct way to do this?

 

crimson
Databricks Partner

Hi @Retired_mod,

Can you please elaborate on these or share related documentation?

  • Use Access Control Lists (ACLs) or Shared Access Signatures (SAS) to restrict access further.
    Is it possible to use ACLs to control DBFS access?
  • Serialize your Keras model (architecture and weights) to a file format that Keras understands (e.g., HDF5 format).
    Any example you can provide?
  • When needed, deserialize the model from ADLS and load it into Databricks.
    This would cause the same issue, wouldn't it?

    Thank you