Update src/deoldify/layers.py
Browse files- src/deoldify/layers.py +0 -2
src/deoldify/layers.py
CHANGED
|
@@ -3,8 +3,6 @@ from fastai.torch_core import *
|
|
| 3 |
from torch.nn.parameter import Parameter
|
| 4 |
from torch.autograd import Variable
|
| 5 |
|
| 6 |
-
torch.serialization.add_safe_globals([functools.partial])
|
| 7 |
-
|
| 8 |
# The code below is meant to be merged into fastaiv1 ideally
|
| 9 |
|
| 10 |
|
|
|
|
| 3 |
from torch.nn.parameter import Parameter
|
| 4 |
from torch.autograd import Variable
|
| 5 |
|
|
|
|
|
|
|
| 6 |
# The code below is meant to be merged into fastaiv1 ideally
|
| 7 |
|
| 8 |
|