| import org.deeplearning4j.nn.multilayer.MultiLayerNetwork; | |
| import org.deeplearning4j.util.ModelSerializer; | |
| import java.io.File; | |
| public class Load { | |
| public static void main(String[] a) throws Exception { | |
| MultiLayerNetwork net = ModelSerializer.restoreMultiLayerNetwork(new File(a[0]), true); | |
| System.out.println("LOADED_OK params=" + net.numParams()); | |
| } | |
| } | |