Viewing a model

Hello, everyone

I saw, in this example (, that it should be possible to visualize the model by writing it to a file (BERT_UI.bin) and using DL4J UI (UIServer?) for viewing.

Does anyone knows how? I couldn’t find any reference or example to this…



Found it…
Just add:

        UIServer uiServer = UIServer.getInstance();


To the end of the function and execute.
Afterwards, point the browser to: localhost:9000/samediff, open the file and enjoy…