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 2 PyTorch? #12

Closed
innat opened this issue Jul 8, 2023 · 7 comments
Closed

TensorFlow 2 PyTorch? #12

innat opened this issue Jul 8, 2023 · 7 comments

Comments

@innat
Copy link

innat commented Jul 8, 2023

No description provided.

@AlexanderLutsenko
Copy link
Owner

@innat But why?

@innat
Copy link
Author

innat commented Jul 11, 2023

A few months ago, there was a Kaggle competition where a TF model was needed to submit. And nobuco did well. Now, a new competition will be organized where the PyTorch model will be needed to submit.

@AlexanderLutsenko
Copy link
Owner

@innat I actually have the reverse converter written, although It's not nearly as sophisticated as Nobuco. Problem is, I don't think it's worth the effort. Hardly anyone uses Tensorflow as a research framework nowadays. What I believe has much potential is JAX. Perhaps we should focus on developing a JAX->Pytorch converter instead.

@innat
Copy link
Author

innat commented Jul 11, 2023

Hardly anyone uses Tensorflow as a research framework nowadays.

We are considering general tools, not particular ones for the research area. And IMO, TensorFlow wouldn't be gone any time soon.

What I believe has much potential is JAX. Perhaps we should focus on developing a JAX->Pytorch converter instead.

Good stuff.
This may interest you, https://twitter.com/fchollet/status/1678777783848419330

@AlexanderLutsenko
Copy link
Owner

AlexanderLutsenko commented Jul 12, 2023

This may interest you, https://twitter.com/fchollet/status/1678777783848419330

@innat Wow, that's huge! Never seriously considered making a unified API since no one would trust my determination to support it for a number of years. But the Keras team may actually pull it off. Hope they don't change too many things in the upcoming release so I could add Keras 3 in Nobuco with just a handful of import replacements.

@innat
Copy link
Author

innat commented Jul 12, 2023

@AlexanderLutsenko
Most probably, you can collaborate with keras-core and add functionalities of nobuco directly to keras-core as part of its APIs.

check: https://twitter.com/kornia_foss/status/1678837500083568643
check: keras-team/keras-core#450
check: keras-team/tf-keras#262

@AlexanderLutsenko
Copy link
Owner

@innat Thanks, I'll look into it.

@innat innat closed this as completed Aug 4, 2023
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

No branches or pull requests

2 participants