Skip to content
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

TensorFlow Taskrunner Workspace with Keras 3 #1330

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

tanwarsh
Copy link
Collaborator

@tanwarsh tanwarsh commented Feb 3, 2025

TensorFlow Taskrunner Workspace with Keras 3, showcasing custom model and training and testing loops.

Screenshot 2025-02-03 at 10 04 14 AM

Copy link
Collaborator

@rahulga1 rahulga1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you highlight which part is tensorflow specific in this workspace.

openfl-workspace/tensorflow/mnist/plan/cols.yaml Outdated Show resolved Hide resolved
Signed-off-by: yes <[email protected]>
@tanwarsh
Copy link
Collaborator Author

tanwarsh commented Feb 3, 2025

can you highlight which part is tensorflow specific in this workspace.

CNNModel in taskruner.py implements a custom model using TensorFlow with test_step and train_step functions for evaluation and training, respectively.

@teoparvanov
Copy link
Collaborator

teoparvanov commented Feb 7, 2025

@tanwarsh , what does this workspace bring in addition to the keras/mnist one? Isn't this showcasing how to use TensorFlow as a Keras 3 backend?

PS: couldn't we instead move the existing keras/mnist workspace under keras/tf/mnist?

@tanwarsh
Copy link
Collaborator Author

tanwarsh commented Feb 7, 2025

@tanwarsh , what does this workspace bring in addition to the keras/mnist one? Isn't this showcasing how to use TensorFlow as a Keras 3 backend?

PS: couldn't we instead move the existing keras/mnist workspace under keras/tf/mnist?

Thank you for the review @teoparvanov . The keras/mnist workspace uses Tensorflow internally but with this workspace we are showcasing how training and test loops can be written with Tensorflow. (train_step and test_step) same as JAX and pytorch workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants