add infer support for audio2motion
This commit is contained in:
1 parent
0b46d9f3eb
commit
23fdd42edd
23 files changed
+824
-74
No files matched your search
@@ -119,6 +119,7 @@ if __name__ == "__main__":
|
||||
cond = output.last_hidden_state
|
||||
print(f"cond shape = {cond.shape}")
|
||||
|
||||
|
||||
# convert to windows
|
||||
cond = F.pad(cond, pad=(0, 0, 8, 7), mode="replicate")
|
||||
cond = cond.unfold(dimension=1, size=16, step=1) # (B, nseqs, nc_motion, 16)
|
||||
|
||||
Reference in new issue
Block a user