Skip to content

[Plant_2021 대회] Pytorch기반 기본 베이스라인 성능 공유 [0.271] #12

Description

백본으로 resnet34이용

BATCH = 16
EPOCHS = 5
LR = 0.0001
transforms.Resize((128, 128))
model = torchvision.models.resnet34()
model.fc = nn.Linear(512, NUM_CL, bias=True)
model = model.to(DEVICE)
criterion = nn.CrossEntropyLoss()
optimizer = torch.optim.Adam(model.parameters(), lr=LR)

자세히보려면 : https://www.kaggle.com/yoonsikjo/plant-2021-starter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions