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