Using DL4J Training UI, as following image.
I got manay session. How can i identify which one is current training. Thank you very much.
@Justin specify the ID in your listeners. You can see the source code for that here: deeplearning4j/BaseStatsListener.java at 851f4e2282782fc5a8777293ab97e3ae90d13603 · eclipse/deeplearning4j · GitHub
Otherwise it just generates a random UUID.
Thanks a lot. I got it. following is my solution code
UIServer uiServer = UIServer.getInstance();
// Configure where the network information (gradients, activations, score vs.
// time etc) is to be stored
// Then add the StatsListener to collect this information from the network, as
// it trains
StatsStorage statsStorage = new FileStatsStorage(
new File(System.getProperty(“java.io.tmpdir”), “ui-stats.dl4j”));
int listenerFrequency = 10;
java.util.Calendar cal = java.util.Calendar.getInstance();
java.text.SimpleDateFormat simpleformat = new java.text.SimpleDateFormat("MM-dd HH:mm");
String sessionID = simpleformat.format(cal.getTime()) + "--" + UUID.randomUUID().toString();
model.setListeners(new StatsListener(statsStorage, null,
new DefaultStatsUpdateConfiguration.Builder().reportingFrequency(listenerFrequency).build(), sessionID,
null), new ScoreIterationListener(listenerFrequency));