Lab fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user