Spaces:
Running
Running
Franny Dean
commited on
Commit
·
f4f238a
1
Parent(s):
c8eaa36
add partial
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -0
- app.py +1 -0
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -21,6 +21,7 @@ from scipy.integrate import odeint
|
|
| 21 |
import torchvision
|
| 22 |
import echonet
|
| 23 |
import matplotlib.animation as animation
|
|
|
|
| 24 |
|
| 25 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 26 |
|
|
|
|
| 21 |
import torchvision
|
| 22 |
import echonet
|
| 23 |
import matplotlib.animation as animation
|
| 24 |
+
from functools import partial
|
| 25 |
|
| 26 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 27 |
|
app.py
CHANGED
|
@@ -21,6 +21,7 @@ from scipy.integrate import odeint
|
|
| 21 |
import torchvision
|
| 22 |
import echonet
|
| 23 |
import matplotlib.animation as animation
|
|
|
|
| 24 |
|
| 25 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 26 |
|
|
|
|
| 21 |
import torchvision
|
| 22 |
import echonet
|
| 23 |
import matplotlib.animation as animation
|
| 24 |
+
from functools import partial
|
| 25 |
|
| 26 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 27 |
|