xizaoqu
commited on
Commit
·
0da4473
1
Parent(s):
1cccab7
update README
Browse files
app.py
CHANGED
|
@@ -252,8 +252,8 @@ def run(cfg: DictConfig):
|
|
| 252 |
global input_history
|
| 253 |
global memory_frames
|
| 254 |
|
| 255 |
-
|
| 256 |
-
|
| 257 |
runner.algo.reset()
|
| 258 |
memory_frames = []
|
| 259 |
memory_frames.append(load_image_as_tensor(DEFAULT_IMAGE))
|
|
|
|
| 252 |
global input_history
|
| 253 |
global memory_frames
|
| 254 |
|
| 255 |
+
algodevice = next(runner.algo.parameters()).device
|
| 256 |
+
print(algodevice)
|
| 257 |
runner.algo.reset()
|
| 258 |
memory_frames = []
|
| 259 |
memory_frames.append(load_image_as_tensor(DEFAULT_IMAGE))
|