OraclePrime-7B / classifier /config.json
van-jinp's picture
Add files using upload-large-folder tool
1a04b5a verified
Raw History Blame Contribute Delete
1.42 kB
{
"default_scope": "mmpretrain",
"model": {
"type": "ImageClassifier",
"backbone": {
"type": "ConvNeXt",
"arch": "large",
"drop_path_rate": 0.1,
"layer_scale_init_value": 0.0,
"use_grn": true
},
"head": {
"type": "LinearClsHead",
"in_channels": 1536,
"num_classes": 13714,
"init_cfg": null,
"loss": {
"type": "LabelSmoothLoss",
"label_smooth_val": 0.1
}
},
"init_cfg": {
"type": "TruncNormal",
"layer": [
"Conv2d",
"Linear"
],
"std": 0.02,
"bias": 0.0
}
},
"data_preprocessor": {
"mean": [
123.675,
116.28,
103.53
],
"std": [
58.395,
57.12,
57.375
],
"to_rgb": true,
"num_classes": 13714
},
"test_dataloader": {
"dataset": {
"pipeline": [
{
"type": "LoadImageFromFile",
"imdecode_backend": "pillow"
},
{
"type": "Resize",
"scale": 128,
"keep_ratio": true,
"backend": "pillow",
"interpolation": "bilinear"
},
{
"type": "Pad",
"size": [
128,
128
],
"pad_val": {
"img": 255
}
},
{
"type": "PackInputs"
}
],
"type": "CustomDataset"
}
}
}