OPEN MODELS / Object detection
Run detr-resnet-50 on a cloud GPU
detr-resnet-50 is an open model by facebook (category: Object detection). See how much GPU memory it needs, which GPUs it fits on today and what it costs to run it yourself, billed per second.
- Library
- Transformers
GPUs it fits on today
Our estimate is about 2 GB for inference with F32 weights, including working memory. Real use depends on resolution, batch size and context length.
| GPU | Memory | Per hour | 10 hours | |
|---|---|---|---|---|
| GTX 1070 | 8 GB | $0.13 | $1.30 | Rent |
| GTX 1660 | 6 GB | $0.14 | $1.40 | Rent |
| RTX 2060 | 12 GB | $0.14 | $1.40 | Rent |
| GTX 1650 | 4 GB | $0.15 | $1.50 | Rent |
| GTX 1660 S | 6 GB | $0.15 | $1.50 | Rent |
Live starting prices from our catalog. You pay per second while the machine runs.
How to run detr-resnet-50
- 01
Rent a GPU
Pick one of the GPUs above. Billing is per second; stop the machine and you stop paying.
- 02
Open a terminal or Jupyter
Connect over SSH or open Jupyter in your browser. PyTorch and CUDA are ready to use.
- 03
Download and run the model
Run the commands below. The weights download straight from Hugging Face to your machine.
pip install -U transformers accelerate
python -c "from transformers import pipeline; p = pipeline('object-detection', model='facebook/detr-resnet-50', device=0); print(p)"Why run it yourself?
Process image and video streams at GPU speed for counting, inspection or dataset labeling.
Questions
- What is detr-resnet-50?
- detr-resnet-50 is an open model by facebook (category: Object detection).
- How much GPU memory does detr-resnet-50 need?
- By our estimate about 2 GB for inference (40M parameters). Higher resolution, longer context or bigger batches need more.
- How much does it cost to run detr-resnet-50?
- From $0.13 per hour on GTX 1070, billed per second. Ten hours cost about $1.30.
- What license does detr-resnet-50 use?
- detr-resnet-50 is published under the apache-2.0 license. Check the model card for the full terms before commercial use.
- Do I need a subscription?
- No. You pay only for the time your machine runs, from your USD balance. Stop it whenever you are done.
Try it on your own GPU in minutes
Pick a GPU, open Jupyter or SSH and run any open model. You pay per second and can stop anytime; no subscription, no setup fee.
- Per-second billing in USD
- PyTorch and CUDA ready in minutes
- Rent from ChatGPT or Claude too