Commit ·
e66dd9e
1
Parent(s): faf0211
Update resnet.py
Browse files
resnet.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
import torch
|
| 2 |
import torch.nn as nn
|
| 3 |
import torch.nn.functional as F
|
| 4 |
-
|
| 5 |
from io import BytesIO
|
| 6 |
import numpy as np
|
| 7 |
import os
|
| 8 |
-
|
| 9 |
from torch import nn
|
| 10 |
from torch.nn import functional as F
|
| 11 |
from torch.utils.data import DataLoader, random_split
|
|
|
|
| 1 |
import torch
|
| 2 |
import torch.nn as nn
|
| 3 |
import torch.nn.functional as F
|
| 4 |
+
from torchsummary import summary
|
| 5 |
from io import BytesIO
|
| 6 |
import numpy as np
|
| 7 |
import os
|
| 8 |
+
from pytorch_lightning import LightningModule, Trainer
|
| 9 |
from torch import nn
|
| 10 |
from torch.nn import functional as F
|
| 11 |
from torch.utils.data import DataLoader, random_split
|