This file contains 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
from tsnecuda import TSNE | |
from tsne.resnet import ResNet18 | |
# 使用 PyTorch內建的 ResNet18 | |
import os | |
import torch | |
import torchvision.models as models | |
import torch.optim | |
from torchvision import transforms | |
model = models.resnet18() |