Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
vgg16.py
CHANGED
@@ -52,7 +52,7 @@ VGG(
|
|
52 |
class VGG_16(nn.Module):
|
53 |
def __init__(self):
|
54 |
super(VGG_16, self).__init__()
|
55 |
-
self.model = models.
|
56 |
|
57 |
for i, _ in enumerate(self.model):
|
58 |
if i in [4, 9, 16, 23]:
|
|
|
52 |
class VGG_16(nn.Module):
|
53 |
def __init__(self):
|
54 |
super(VGG_16, self).__init__()
|
55 |
+
self.model = models.vgg16(weights='DEFAULT').features[:30]
|
56 |
|
57 |
for i, _ in enumerate(self.model):
|
58 |
if i in [4, 9, 16, 23]:
|