-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement Transfer Learning API #2
Conversation
@cgarciae any thoughts on this initial design? |
Hey @n2cholas ! We had a discussion in this PR as ways to approach this: poets-ai/elegy#169 My thoughts:
|
Elegy's approach looks very flexible, I'll definitely give it a try in the future. A blog post would be very nice! Since this project's scope is ResNet-style architectures, I'll iterate on this slice API a bit and stick to it. I'm curious to see how Flax will address this problem. I actually quite liked jax.experimental.stax's combinator ideology--it made dataflow explicit and would enable simple arbitrary model surgery. |
@cgarciae we'll provide a Once Flax has its own Sequential module (PR), I'll switch to that. Thanks again for opening this up! |
Closes #1. Implements a
Sequential
combinator as well as aslice
to easily extract portions of the models.TODO: