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

Accessing hidden layer activations with python bindings #1407

Open
FrugoFruit90 opened this issue Aug 1, 2020 · 2 comments
Open

Accessing hidden layer activations with python bindings #1407

FrugoFruit90 opened this issue Aug 1, 2020 · 2 comments

Comments

@FrugoFruit90
Copy link

FrugoFruit90 commented Aug 1, 2020

With #1261 I am able to load a model and make predictions by following the example session.

However, I'm interested in the activations of intermediate layers. What is the easiest way to access them? Is it possible to load the weights in Tensorflow or PyTorch?

@int8
Copy link

int8 commented Feb 1, 2022

any progress on that one ?

@mooskagh
Copy link
Member

mooskagh commented Feb 9, 2022

The easiest way to explore the network for now is to convert the network to ONNX format using

./lc0 leela2onnx --input=network.pb --output=network.onnx

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

3 participants