:wasm feature-images
:dep wasm-bindgen = "*"
:dep features2image_diffusion-widget = { path = "../widget" }
:dep web-sys = { version = "*", features = ["HtmlElement"] }
use wasm_bindgen::prelude::*;
use features2image_diffusion_widget;
use web_sys::HtmlElement;
:dep features2image_diffusion-read-result = { path = "../read-result" }
:dep evcxr_ssg = "*"
use evcxr_ssg::call_wasm;
use features2image_diffusion_read_result::{
,
create_file_tensorf2id_fs::Files,
list_paths::list_paths
};
evcxr_ssg::stylesheet("../web/tailwind.css");
let RUN_ID = "4409b6282a7d05f0b08880228d6d6564011fa40be412073ff05aff8bf2dc49fa";
let RUN_DIR = format!("../xyz/run/{RUN_ID}");
let files: Files = create_file_tensor(&RUN_DIR).unwrap();
.dfmt.shape() files
[18, 256, 4, 3]
call_wasm!("feature_images", "$", &RUN_DIR, &files);