Comments (2)
I think you want to think of nn.Model
instances as pairs of model definitions and parameter trees (stored as Python dicts) and just modify the dict.
from flax.
Realized an easy way to do this, thanks for the response
from flax.
Related Issues (20)
- Documentation links 404 HOT 1
- Problem in usage of multi-gpu (Four RTX 4090) for FLAX HOT 6
- nn.Dense doesn't respect the provided dtype HOT 2
- static_argnums argument to flax.linen.remat not working as expected HOT 2
- imagenet example needs a refreshed requirements.txt HOT 1
- `optax.multi_transform` + `nnx.State`/`nnx.Optimizer` troubles
- Inconsistent results when module is a property of another HOT 2
- feature_request: support for tabulate/summary in the NNX API HOT 1
- Using `vmap` on the loss function change results
- Cannot load checkpoint saved in flax 0.5.3 with flax 0.6.1
- Not sure if flax use the GPU HOT 2
- New python venv fails to pip install the flax mnist example requirements HOT 3
- Best practice of dealing with sporadic FrozenDict conversions? HOT 2
- NNX + mutable state + JIT = "Cannot mutate <module name> from a different trace level"
- `serialization.from_state_dict` does not restore to jax.Arrays HOT 1
- Exceptions are not pickle-able
- Force `fp32` in `attention.MultiHeadDotProductAttention` for softmax operator HOT 1
- Will nnx.MultiHeadAttention support flash att? HOT 3
- `save_checkpoint` fails with the most recent orbax release HOT 2
- flax nn.tabulate Incorrectly Reports FLOPs and VJP FLOPs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flax.