Update model.py
Browse filesUpdated the Image library from pillow
model.py
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
import torch
|
3 |
import torch.nn as nn
|
4 |
import torchvision.models as models
|
|
|
|
|
5 |
|
6 |
#Content Loss
|
7 |
class ContentLoss(nn.Module):
|
|
|
2 |
import torch
|
3 |
import torch.nn as nn
|
4 |
import torchvision.models as models
|
5 |
+
from PIL import Image
|
6 |
+
|
7 |
|
8 |
#Content Loss
|
9 |
class ContentLoss(nn.Module):
|