The package can be uploaded to your portal as a DLPK item and used as the input to deep learning raster analysis tools.
are you running it from your portal?
and if so
The model definition file can be an Esri model definition JSON file (.emd) or a deep learning model package, and it must contain the path to the Python raster function to be called to process each object and the path to the trained binary deep learning model file.
The error suggests that things can't be found
... sort of retired...