xizaoqu
commited on
Commit
·
4caec38
1
Parent(s):
0da4473
update README
Browse files
app.py
CHANGED
@@ -252,6 +252,7 @@ def run(cfg: DictConfig):
|
|
252 |
global input_history
|
253 |
global memory_frames
|
254 |
|
|
|
255 |
algodevice = next(runner.algo.parameters()).device
|
256 |
print(algodevice)
|
257 |
runner.algo.reset()
|
|
|
252 |
global input_history
|
253 |
global memory_frames
|
254 |
|
255 |
+
runner.algo.to(device)
|
256 |
algodevice = next(runner.algo.parameters()).device
|
257 |
print(algodevice)
|
258 |
runner.algo.reset()
|