Skip to content

Instantly share code, notes, and snippets.

@AlexLukasT
AlexLukasT / controller.log
Last active June 5, 2023 12:13
Github Actions Runner Controller
2023-06-05T11:57:46Z INFO Using default AutoscalingListener image pull policy {"ImagePullPolicy": "IfNotPresent"}
2023-06-05T11:57:46Z INFO controller-runtime.metrics Metrics server is starting to listen {"addr": "127.0.0.1:8080"}
2023-06-05T11:57:46Z INFO Initializing actions-runner-controller {"version": "v0.27.4", "default-scale-down-delay": "10m0s", "sync-period": "1m0s", "default-runner-image": "summerwind/actions-runner:latest", "default-docker-image": "docker:dind", "default-docker-gid": "1001", "common-runnner-labels": null, "leader-election-enabled": true, "leader-election-id": "actions-runner-controller", "watch-namespace": "runner-namespace"}
2023-06-05T11:57:46Z INFO controller-runtime.builder Registering a mutating webhook {"GVK": "actions.summerwind.dev/v1alpha1, Kind=Runner", "path": "/mutate-actions-summerwind-dev-v1alpha1-runner"}
2023-06-05T11:57:46Z INFO controller-runtime.webhook Registering webhook {"path": "/mutate-actions-summerwind-dev-v1alpha1-runner"}
2023-06-05T11:57:46Z INFO contro
@AlexLukasT
AlexLukasT / Main.java
Last active October 9, 2020 10:36
Deeplearning4j KerasModelImport bug: Flatten layer with 3D input
import org.deeplearning4j.nn.graph.ComputationGraph;
import org.deeplearning4j.nn.modelimport.keras.KerasModelImport;
public class Main {
public static void main(String[] args) {
String configPath = "../python/model_config.json";
String weigthsPath = "../python/model_weights.h5";
try {
ComputationGraph model = KerasModelImport.importKerasModelAndWeights(configPath, weigthsPath);
} catch (Exception e) {