xizaoqu
commited on
Commit
·
0256e9a
1
Parent(s):
bd91e67
update
Browse files- algorithms/worldmem/df_video.py +1 -1
- app.py +0 -2
algorithms/worldmem/df_video.py
CHANGED
|
@@ -900,7 +900,7 @@ class WorldMemMinecraft(DiffusionForcingBase):
|
|
| 900 |
|
| 901 |
xs_pred = self.decode(xs_pred[n_context_frames:].to(device)).cpu()
|
| 902 |
|
| 903 |
-
return xs_pred[-1,0], self_frames, self_poses, self_memory_c2w, self_frame_idx
|
| 904 |
|
| 905 |
|
| 906 |
def reset(self):
|
|
|
|
| 900 |
|
| 901 |
xs_pred = self.decode(xs_pred[n_context_frames:].to(device)).cpu()
|
| 902 |
|
| 903 |
+
return xs_pred[-1,0], self_frames, self_poses.cpu(), self_memory_c2w.cpu(), self_frame_idx.cpu()
|
| 904 |
|
| 905 |
|
| 906 |
def reset(self):
|
app.py
CHANGED
|
@@ -277,8 +277,6 @@ def reset():
|
|
| 277 |
self_memory_c2w=self_memory_c2w,
|
| 278 |
self_frame_idx=self_frame_idx)
|
| 279 |
|
| 280 |
-
|
| 281 |
-
print("outoutout")
|
| 282 |
return input_history, DEFAULT_IMAGE
|
| 283 |
|
| 284 |
def on_image_click(SELECTED_IMAGE):
|
|
|
|
| 277 |
self_memory_c2w=self_memory_c2w,
|
| 278 |
self_frame_idx=self_frame_idx)
|
| 279 |
|
|
|
|
|
|
|
| 280 |
return input_history, DEFAULT_IMAGE
|
| 281 |
|
| 282 |
def on_image_click(SELECTED_IMAGE):
|