Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TingsongYu/PyTorch_Tutorial
/ 2_finetune.py
File
2_finetune.py
Code/2_model/2_finetune.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# coding: utf-8
2
3
import
torch
4
from
torch.utils.data
import
DataLoader
Callers
nothing calls this directly
Calls
4
MyDataset
Class · 0.90
validate
Function · 0.90
show_confMat
Function · 0.90
Net
Class · 0.70
Tested by
no test coverage detected