This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Transfer learning example on fake data.""" | |
from collections import OrderedDict | |
import torch | |
import torch.nn.functional as F | |
from torch import optim | |
from torch.utils.data import DataLoader | |
from torchvision.models import resnet50 |