Lab fixes

This commit is contained in:
luboslenco
2024-10-23 14:00:19 +02:00
parent fe1d9d19a1
commit 85bcbdb7bb
9 changed files with 25 additions and 20 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ function variance_node_get_as_image(self: variance_node_t, from: i32): image_t {
iron_g4_swap_buffers();
let vae_encoder_blob: buffer_t = data_get_blob("models/sd_vae_encoder.quant.onnx");
let tensors: buffer_t[] = [buffer_create_from_raw(f32a.buffer, f32a.length)];
let tensors: buffer_t[] = [buffer_create_from_raw(f32a.buffer, f32a.length * 4)];
let input_shape: i32_array_t[] = [];
let input_shape0: i32[] = [1, 3, 512, 512];
array_push(input_shape, input_shape0);