Tom Hennigan
Tom Hennigan
HI @xfchen0912 , in TensorFlow 2 memory is freed eagerly when there are no more references to the model in Python. So you can do something like: ```python model_a =...
Hi @gautica , it seems to work correctly for me: https://colab.research.google.com/gist/tomhennigan/f45c0db3ab5b7f271dafbeb4ef2287b1/example-of-using-w_init-with-sonnet-mlp.ipynb Please make sure that you are using TensorFlow 2 and Sonnet 2 since this is what our documentation refers...
hi @AnaRhisT94 , we haven't had other reports of this so I wonder if this is something specific to your setup. How did you install Sonnet? What OS are you...
Hi @EBGU , there's quite a lot of code there! I recognize at least some of this from our vqvae example notebook? Rather than printing the whole file it might...
BTW we have DNC in nets but have not exposed it as part of the public API yet. I suspect this is because we want to add an example of...
Sonnet v2 is a pure python library (unlike Sonnet 1) so building into a whl is the standard Python stanza: `python setup.py sdist bdist_wheel`. No need to use bazel for...
Hi @maryamkiashemshaki it sounds like you've got Sonnet 1.0 installed alongside TensorFlow 2.X. If you want to use TensorFlow 2, then you need to use Sonnet 2.0 (released in March...
I'm afraid I don't have an M1 to test on, I'm glad you got things working in Colab and I hope that unblocks you. Sonnet 1 is in maintenance mode...
> But there was an error that I couldn't solve.I found in the/site-packages/haiku/experimental/init.py file, Current_name, DO_NOT_STORE, lift_with_state, LiftWithStateUpdater, etc., are not present in haiku/_scr/base.py or haiku/_scr/lift.py code. This issue (symbols...