addons
addons copied to clipboard
Useful extra functionality for TensorFlow 2.x maintained by SIG-addons
**System information** - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS Monterey 12.0 - TensorFlow version and how it was installed (source or binary): TF 2.6 binary - TensorFlow-Addons...
Fixes #1017 . @shun-lin, @seanpmorgan - Please review. Also, Suggest me how to write the tests for this loss. Please suggest the way in which I should proceed to write...
# Description Brief Description of the PR: Handle reduction with loss wrapper not with this function. Currently when using `tfa.losses.SigmoidFocalCrossEntropy(reduction: str = tf.keras.losses.Reduction.NONE)`, the loss is still reduced by summing...
# Description The MADGRAD algorithm is a reliably high-performing non-convex optimization algorithm that matches or outperforms the SGD and Adam algorithms on a variety of image-to-image and language tasks. This...
Maybe I'm missing something here but I'm using RAdam with warmup for a dataset and want to save the concurrent learning rate for each step (to generate some plots, lr...
Trying to use F1 Score Metric ``` model.add(keras.layers.Dense(1, activation=activation)) model.compile(loss='mse', optimizer="rmsprop", metrics=['accuracy', F1Score(num_classes=2, average="weighted"), keras.metrics.Precision(name='precision'), keras.metrics.Recall(name='recall')]) ``` https://github.com/tensorflow/addons/blob/334cd7ca8fb944aab38164a13d7d2203d7c39605/tensorflow_addons/metrics/f_scores.py#L208 File "/Users/fguimara/.pyenv/versions/3.8.5/envs/pleural_2021/lib/python3.8/site-packages/keras/engine/training_v1.py", line 985, in reset_metrics m.reset_state() File "/Users/fguimara/.pyenv/versions/3.8.5/envs/pleural_2021/lib/python3.8/site-packages/tensorflow_addons/metrics/f_scores.py", line 208, in...
**Describe the feature and the current behavior/state.** I am talking about this specific repository. [https://www.tensorflow.org/addons/api_docs/python/tfa/text/crf_decode]() For now crf_decode function returns the tag indices with highest probability and a score for...
**System information** - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab - TensorFlow version and how it was installed (source or binary): 2.6.0 - TensorFlow-Addons version and how it...
Following the [first thread](https://github.com/tensorflow/tensorflow/issues/48070) in tensorflow/tensorflow. **Describe the feature and the current behavior/state.** TensorFlow already incorporates a native Non Max Suppression algorithm for 2D bounding boxes. It is used for...