目录
知识储备
基于元学习框架小样本目标检测
import torch
import torch.nn as nn
from torchvision.models import resnet50
from torch.optim import AdamW
# 原型网络构建(支持语义增强)
class PrototypeDetector(nn.Module):
def __init__(self, num_classes):
目录
import torch
import torch.nn as nn
from torchvision.models import resnet50
from torch.optim import AdamW
# 原型网络构建(支持语义增强)
class PrototypeDetector(nn.Module):
def __init__(self, num_classes):