Mohammed Innat

Results 349 comments of Mohammed Innat

One thing is very important while we train a machine learning model is that our defined label (supervised) need to be numeric. So, in these circumstances, we need to represent...

Take a look [this](https://github.com/jacobgil/pytorch-grad-cam/blob/master/tutorials/vision_transformers.md), might help.

Hi, Im not open for the contribution. I found this from this https://stackoverflow.com/questions/77930212/multitask-learning-to-classify-on-dog-images/77935240#77935240

> The issue with this is it is now impossible to load weights saved by a model which Will it work, `skip_mismatch=True` ``` Model.load_weights(filepath, by_name=False, skip_mismatch=False, options=None ``` https://keras.io/api/models/model_saving_apis/

@PolarBean Are you sure it's correct? `tf.keras` is happeded after tf 2.0. ``` """ @filename = 1_15ModelBuild.py This script has been tested and works with tensorflow 1.15.0 """ from tensorflow.keras.applications.xception...

@LostInDarkMath Here the following API are technically same. ```python keras.metrics.Accuracy keras.metrics.BinaryAccuracy ``` From [doc](https://keras.io/api/metrics/accuracy_metrics/#accuracy-class), > keras.metrics.Accuracy(name="accuracy", ...) > keras.metrics.BinaryAccuracy(name="binary_accuracy", ...) Calculates how often predictions equal labels. This metric creates two...

> The same behavior exists in Keras 3 as well. Should we deprecate use of `metrics.Accuracy` or mimic its usage to string metric of `accuracy`? The `metrics.Accuracy` can be removed....

@chenmoneygithub > Currently users would need to write their own custom training loop to handle the gradient accumulation, which is not too hard, so we have not yet made this...

Hello @chenmoneygithub , any update on this issue? Thanks.

Grad checkpointing is a very attractive feature. It would be great to have official support for this. Discussion: https://discuss.tensorflow.org/t/support-gradient-checkpointing-in-tensorflow-2/.