Running both examples on MacOS Monterey (version 12.1). The training was successful but no window was shown when "rendering champion..." is outputted.
$ RUST_LOG=info cargo run --example cart_pole --release --features="cosyne"
INFO cosyne::cosyne > gen 0, champion fitness: 129.0000
INFO cosyne::cosyne > gen 1, champion fitness: 129.0000
INFO cosyne::cosyne > gen 2, champion fitness: 261.0000
INFO cosyne::cosyne > gen 3, champion fitness: 261.0000
INFO cosyne::cosyne > gen 4, champion fitness: 261.0000
INFO cosyne::cosyne > gen 5, champion fitness: 261.0000
INFO cosyne::cosyne > gen 6, champion fitness: 261.0000
INFO cosyne::cosyne > gen 7, champion fitness: 261.0000
INFO cosyne::cosyne > gen 8, champion fitness: 261.0000
INFO cosyne::cosyne > gen 9, champion fitness: 261.0000
INFO cosyne::cosyne > gen 10, champion fitness: 261.0000
INFO cosyne::cosyne > gen 11, champion fitness: 400.0000
INFO cosyne::cosyne > gen 12, champion fitness: 400.0000
INFO cosyne::cosyne > gen 13, champion fitness: 400.0000
INFO cosyne::cosyne > gen 14, champion fitness: 400.0000
INFO cosyne::cosyne > gen 15, champion fitness: 400.0000
INFO cosyne::cosyne > gen 16, champion fitness: 400.0000
INFO cosyne::cosyne > gen 17, champion fitness: 400.0000
INFO cosyne::cosyne > gen 18, champion fitness: 400.0000
INFO cosyne::cosyne > gen 19, champion fitness: 400.0000
INFO cosyne::cosyne > gen 20, champion fitness: 400.0000
INFO cosyne::cosyne > gen 21, champion fitness: 400.0000
INFO cosyne::cosyne > gen 22, champion fitness: 400.0000
INFO cosyne::cosyne > gen 23, champion fitness: 400.0000
INFO cosyne::cosyne > gen 24, champion fitness: 400.0000
INFO cosyne::cosyne > gen 25, champion fitness: 400.0000
INFO cosyne::cosyne > gen 26, champion fitness: 400.0000
INFO cosyne::cosyne > gen 27, champion fitness: 400.0000
INFO cosyne::cosyne > gen 28, champion fitness: 400.0000
INFO cosyne::cosyne > gen 29, champion fitness: 400.0000
INFO cosyne::cosyne > gen 30, champion fitness: 400.0000
INFO cosyne::cosyne > gen 31, champion fitness: 400.0000
INFO cosyne::cosyne > gen 32, champion fitness: 400.0000
INFO cosyne::cosyne > gen 33, champion fitness: 400.0000
INFO cosyne::cosyne > gen 34, champion fitness: 400.0000
INFO cosyne::cosyne > gen 35, champion fitness: 400.0000
INFO cosyne::cosyne > gen 36, champion fitness: 400.0000
INFO cosyne::cosyne > gen 37, champion fitness: 400.0000
INFO cosyne::cosyne > gen 38, champion fitness: 400.0000
INFO cosyne::cosyne > gen 39, champion fitness: 400.0000
INFO cosyne::cosyne > gen 40, champion fitness: 400.0000
INFO cosyne::cosyne > gen 41, champion fitness: 400.0000
INFO cosyne::cosyne > gen 42, champion fitness: 400.0000
INFO cosyne::cosyne > gen 43, champion fitness: 400.0000
INFO cosyne::cosyne > gen 44, champion fitness: 400.0000
INFO cosyne::cosyne > gen 45, champion fitness: 400.0000
INFO cosyne::cosyne > gen 46, champion fitness: 400.0000
INFO cosyne::cosyne > gen 47, champion fitness: 400.0000
INFO cosyne::cosyne > gen 48, champion fitness: 400.0000
INFO cosyne::cosyne > gen 49, champion fitness: 400.0000
INFO cosyne::cosyne > gen 50, champion fitness: 400.0000
INFO cosyne::cosyne > gen 51, champion fitness: 400.0000
INFO cosyne::cosyne > gen 52, champion fitness: 400.0000
INFO cosyne::cosyne > gen 53, champion fitness: 400.0000
INFO cosyne::cosyne > gen 54, champion fitness: 400.0000
INFO cosyne::cosyne > gen 55, champion fitness: 400.0000
INFO cosyne::cosyne > gen 56, champion fitness: 400.0000
INFO cosyne::cosyne > gen 57, champion fitness: 400.0000
INFO cosyne::cosyne > gen 58, champion fitness: 400.0000
INFO cosyne::cosyne > gen 59, champion fitness: 400.0000
INFO cosyne::cosyne > gen 60, champion fitness: 400.0000
INFO cosyne::cosyne > gen 61, champion fitness: 400.0000
INFO cosyne::cosyne > gen 62, champion fitness: 400.0000
INFO cosyne::cosyne > gen 63, champion fitness: 400.0000
INFO cosyne::cosyne > gen 64, champion fitness: 400.0000
INFO cosyne::cosyne > gen 65, champion fitness: 400.0000
INFO cosyne::cosyne > gen 66, champion fitness: 400.0000
INFO cosyne::cosyne > gen 67, champion fitness: 400.0000
INFO cosyne::cosyne > gen 68, champion fitness: 400.0000
INFO cosyne::cosyne > gen 69, champion fitness: 400.0000
INFO cosyne::cosyne > gen 70, champion fitness: 400.0000
INFO cosyne::cosyne > gen 71, champion fitness: 400.0000
INFO cosyne::cosyne > gen 72, champion fitness: 400.0000
INFO cosyne::cosyne > gen 73, champion fitness: 400.0000
INFO cosyne::cosyne > gen 74, champion fitness: 400.0000
INFO cosyne::cosyne > gen 75, champion fitness: 400.0000
INFO cosyne::cosyne > gen 76, champion fitness: 400.0000
INFO cosyne::cosyne > gen 77, champion fitness: 400.0000
INFO cosyne::cosyne > gen 78, champion fitness: 400.0000
INFO cosyne::cosyne > gen 79, champion fitness: 400.0000
INFO cosyne::cosyne > gen 80, champion fitness: 400.0000
INFO cosyne::cosyne > gen 81, champion fitness: 400.0000
INFO cosyne::cosyne > gen 82, champion fitness: 400.0000
INFO cosyne::cosyne > gen 83, champion fitness: 400.0000
INFO cosyne::cosyne > gen 84, champion fitness: 400.0000
INFO cosyne::cosyne > gen 85, champion fitness: 400.0000
INFO cosyne::cosyne > gen 86, champion fitness: 400.0000
INFO cosyne::cosyne > gen 87, champion fitness: 400.0000
INFO cosyne::cosyne > gen 88, champion fitness: 400.0000
INFO cosyne::cosyne > gen 89, champion fitness: 400.0000
INFO cosyne::cosyne > gen 90, champion fitness: 400.0000
INFO cosyne::cosyne > gen 91, champion fitness: 400.0000
INFO cosyne::cosyne > gen 92, champion fitness: 400.0000
INFO cosyne::cosyne > gen 93, champion fitness: 400.0000
INFO cosyne::cosyne > gen 94, champion fitness: 400.0000
INFO cosyne::cosyne > gen 95, champion fitness: 400.0000
INFO cosyne::cosyne > gen 96, champion fitness: 400.0000
INFO cosyne::cosyne > gen 97, champion fitness: 400.0000
INFO cosyne::cosyne > gen 98, champion fitness: 400.0000
INFO cosyne::cosyne > gen 99, champion fitness: 400.0000
champion: (ANN { num_inputs: 4, num_outputs: 1, layers: [Layer { input_len: 4, output_len: 1, gene_len: 5, activation: Relu, weights: Matrix { data: VecStorage { data: [0.07007277006795642, -0.23631177830558103, 0.44346640185648933, 0.13902369122718516], nrows: Dynamic { value: 1 }, ncols: Dynamic { value: 4 } } }, biases: Matrix { data: VecStorage { data: [0.5129485592119563], nrows: Dynamic { value: 1 }, ncols: Dynamic { value: 1 } } }, act: Matrix { data: VecStorage { data: [0.0, 0.0, 0.0, 0.0], nrows: Dynamic { value: 4 }, ncols: Dynamic { value: 1 } } }, act_func: 0x10c1714a0, net: Matrix { data: VecStorage { data: [0.0], nrows: Dynamic { value: 1 }, ncols: Dynamic { value: 1 } } } }], num_genes: 5 }, 400.0)
training time: 0ms
rendering champion... <--- Nothing happens
This isn't supposed to render an image to the screen, it creates a .gif of the champion being run through the environment, which can then be opened and viewed at your leisure.
Running both examples on MacOS Monterey (version 12.1). The training was successful but no window was shown when "rendering champion..." is outputted.