-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Tensorflow version #2079
Upgrade Tensorflow version #2079
Conversation
@@ -2,5 +2,4 @@ psutil==5.9.4 | |||
rfc3339>=6.2 | |||
grpcio==1.41.1 | |||
googleapis-common-protos==1.6.0 | |||
tensorflow==2.9.3; platform_machine=="x86_64" | |||
tensorflow-aarch64==2.9.1; platform_machine=="aarch64" | |||
tensorflow==2.11.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Tensorflow v2.10.0, the binary for aarch64 is shipped as tensorflow
.
aarch64 CPUs: Experimental performance optimizations from Compute Library for the Arm® Architecture (ACL) are available through oneDNN in the default Linux aarch64 package (pip install tensorflow).
https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0
I'm going to force-push to run failed jobs. |
87ed5cd
to
e878d93
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Is this PR ready? |
No, I'm debugging the CI errors. |
e878d93
to
d67d575
Compare
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
d67d575
to
c3c6312
Compare
@@ -63,7 +63,7 @@ | |||
test_model = constructor.build_model() | |||
test_model.summary() | |||
test_model.compile(loss=keras.losses.categorical_crossentropy, | |||
optimizer=keras.optimizers.Adam(learning_rate=1e-3, decay=1e-4), | |||
optimizer=keras.optimizers.Adam(learning_rate=1e-3), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To resolve the following error:
Traceback (most recent call last):
File "/opt/enas-cnn-cifar10/RunTrial.py", line 66, in <module>
optimizer=keras.optimizers.Adam(learning_rate=1e-3, decay=1e-4),
File "/usr/local/lib/python3.10/site-packages/keras/optimizers/optimizer_experimental/adam.py", line 104, in __init__
super().__init__(
File "/usr/local/lib/python3.10/site-packages/keras/optimizers/optimizer_experimental/optimizer.py", line 1053, in __init__
super().__init__(
File "/usr/local/lib/python3.10/site-packages/keras/optimizers/optimizer_experimental/optimizer.py", line 89, in __init__
self._process_kwargs(kwargs)
File "/usr/local/lib/python3.10/site-packages/keras/optimizers/optimizer_experimental/optimizer.py", line 118, in _process_kwargs
raise ValueError(
ValueError: decay is deprecated in the new Keras optimizer, pleasecheck the docstring for valid arguments, or use the legacy optimizer, e.g., tf.keras.optimizers.legacy.Adam.
The decay for the learning rate was removed from the Adam optimizer.
@johnugeorge This PR is ready. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge, tenzen-y The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Yuki Iwai yuki.iwai.tz@gmail.com
What this PR does / why we need it:
I upgraded the Tensorflow version.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: