fix it
This commit is contained in:
@@ -328,7 +328,7 @@ fn training() {
|
||||
&inputs[i * INPUT..(i + 1) * INPUT]
|
||||
.iter()
|
||||
.copied()
|
||||
.map(|f| (f * 255.0) as u8)
|
||||
.map(|f| f as u8)
|
||||
.collect::<Vec<u8>>(),
|
||||
(SIZE_X, SIZE_Y),
|
||||
format!("depth_images/{i}.png").into(),
|
||||
|
||||
Reference in New Issue
Block a user