Instructions to use zeroone012012/detr_custom with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zeroone012012/detr_custom with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("zeroone012012/detr_custom", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 437 Bytes
1e0258a 2a95a10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"type": "detr_image",
"max_size": 800,
"min_size": 400,
"num_channels": 3,
"mean": [0.485, 0.456, 0.406],
"std": [0.229, 0.224, 0.225],
"scale_h": 384,
"scale_w": 600,
"augmentation": {
"type": "augmentation",
"flip_prob": 0.5,
"translate": [0.1, 0.1],
"scale": [0.9, 1.1],
"rotate": [-30, 30],
"hue": 0.1,
"saturation": 0.1,
"value": 0.1
}
}
|