Instructions to use 1aurent/resnet50.tiatoolbox-kather100k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use 1aurent/resnet50.tiatoolbox-kather100k with timm:
import timm model = timm.create_model("hf_hub:1aurent/resnet50.tiatoolbox-kather100k", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +7 -7
config.json
CHANGED
|
@@ -3,21 +3,21 @@
|
|
| 3 |
"num_classes": 9,
|
| 4 |
"num_features": 2048,
|
| 5 |
"pretrained_cfg": {
|
| 6 |
-
"tag": "
|
| 7 |
"custom_load": false,
|
| 8 |
"input_size": [
|
| 9 |
3,
|
| 10 |
-
|
| 11 |
-
|
| 12 |
],
|
| 13 |
"test_input_size": [
|
| 14 |
3,
|
| 15 |
-
|
| 16 |
-
|
| 17 |
],
|
| 18 |
"fixed_input_size": false,
|
| 19 |
"interpolation": "bicubic",
|
| 20 |
-
"crop_pct":
|
| 21 |
"test_crop_pct": 1.0,
|
| 22 |
"crop_mode": "center",
|
| 23 |
"mean": [
|
|
@@ -30,7 +30,7 @@
|
|
| 30 |
0.224,
|
| 31 |
0.225
|
| 32 |
],
|
| 33 |
-
"num_classes":
|
| 34 |
"pool_size": [
|
| 35 |
7,
|
| 36 |
7
|
|
|
|
| 3 |
"num_classes": 9,
|
| 4 |
"num_features": 2048,
|
| 5 |
"pretrained_cfg": {
|
| 6 |
+
"tag": "tiatoolbox-kather100k",
|
| 7 |
"custom_load": false,
|
| 8 |
"input_size": [
|
| 9 |
3,
|
| 10 |
+
224,
|
| 11 |
+
224
|
| 12 |
],
|
| 13 |
"test_input_size": [
|
| 14 |
3,
|
| 15 |
+
224,
|
| 16 |
+
224
|
| 17 |
],
|
| 18 |
"fixed_input_size": false,
|
| 19 |
"interpolation": "bicubic",
|
| 20 |
+
"crop_pct": 0.9,
|
| 21 |
"test_crop_pct": 1.0,
|
| 22 |
"crop_mode": "center",
|
| 23 |
"mean": [
|
|
|
|
| 30 |
0.224,
|
| 31 |
0.225
|
| 32 |
],
|
| 33 |
+
"num_classes": 9,
|
| 34 |
"pool_size": [
|
| 35 |
7,
|
| 36 |
7
|