Skip to content

Commit

Permalink
Update tensorflow requirement from <=2.10 to <2.12 (#3)
Browse files Browse the repository at this point in the history
* Update tensorflow requirement from <=2.10 to <2.12

Updates the requirements on [tensorflow](https://github.com/tensorflow/tensorflow) to permit the latest version.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](tensorflow/tensorflow@tflite-v0.1.7...v2.11.0)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated code for tensorflow 2.12

* Updated code for tensorflow 2.11

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Ernsting <[email protected]>
  • Loading branch information
dependabot[bot] and jernsting authored Feb 17, 2023
1 parent d3986f3 commit 7cb5552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gem/embedding/sdne.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def weighted_mse_y(y_true, y_pred):

# Model
self._model = Model(inputs=x_in, outputs=[x_diff1, x_diff2, y_diff])
sgd = SGD(lr=self._xeta, decay=1e-5, momentum=0.99, nesterov=True)
sgd = SGD(learning_rate=self._xeta, weight_decay=1e-5, momentum=0.99, nesterov=True)
self._model.compile(
optimizer=sgd,
loss=[weighted_mse_x, weighted_mse_x, weighted_mse_y],
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ networkx==3.0
matplotlib>=2.0.0
scikit-learn>=0.21.2
theano>=0.9.0
tensorflow<=2.10
tensorflow==2.11
pbr

0 comments on commit 7cb5552

Please sign in to comment.