Luca Massaron
Luca Massaron
Yes, if I replace it with a tf.keras.losses.SparseCategoricalCrossentropy() the code just works fine. Here is the complete error reported by the code: ```--------------------------------------------------------------------------- InternalError Traceback (most recent call last) /tmp/ipykernel_42/3395278551.py...
So probably is it necessary just to change the resizing operations?
Both LIME (https://github.com/marcotcr/lime) and SHAP (https://github.com/slundberg/shap) can provide you with feature importance of a DNN model. They require some extra-work, though. I will write some articles on that in the...