Add first successful sampling implementation

This commit is contained in:
Gadersd
2023-08-04 17:01:44 -04:00
parent 3bf5b8c477
commit 77f30aefa7
9 changed files with 42 additions and 34 deletions

View File

@@ -113,7 +113,6 @@ impl<B: Backend> UNet<B> {
// input blocks
for block in self.input_blocks.as_array() {
println!("{:?}", x.clone().flatten::<1>(0, 3).slice([0..100]).into_data());
x = block.forward(x, emb.clone(), context.clone());
saved_inputs.push(x.clone())
}