adirik/codet 🖼️🔢✓ → 🖼️
About
Detects objects in an image
Example Output
Output
Performance Metrics
17.12s
Prediction Time
99.05s
Total Time
All Input Parameters
{
"image": "https://replicate.delivery/pbxt/JtQteKssPB1rIll144OqsX4FDuQ2pih89jOAE8MZ3QnPx8Dw/1.jpeg",
"confidence": 0.5,
"show_visualisation": true
}
Input Parameters
- image (required)
- Input image
- confidence
- Confidence threshold to filter detections
- show_visualisation
- Plot and show detection results on image
Output Schema
Output
Example Execution Logs
[11/17 14:15:00 d2.checkpoint.detection_checkpoint]: [DetectionCheckpointer] Loading from checkpoints/CoDet_OVLVIS_SwinB_4x_ft4x.pth ...
[11/17 14:15:00 fvcore.common.checkpoint]: [Checkpointer] Loading from checkpoints/CoDet_OVLVIS_SwinB_4x_ft4x.pth ...
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.cls_score.zs_weight' to the model due to incompatible shapes: (512, 5910) in the checkpoint but (512, 4707) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.fc1.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.fc1.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.fc2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.weight_transform.0.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.weight_transform.0.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.0.weight_transform.2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.cls_score.zs_weight' to the model due to incompatible shapes: (512, 5910) in the checkpoint but (512, 4707) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.fc1.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.fc1.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.fc2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.weight_transform.0.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.weight_transform.0.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.1.weight_transform.2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.cls_score.zs_weight' to the model due to incompatible shapes: (512, 5910) in the checkpoint but (512, 4707) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.fc1.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.fc1.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.fc2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.weight_transform.0.weight' to the model due to incompatible shapes: (64, 448) in the checkpoint but (128, 896) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.weight_transform.0.bias' to the model due to incompatible shapes: (64,) in the checkpoint but (128,) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Skip loading parameter 'roi_heads.box_predictor.2.weight_transform.2.weight' to the model due to incompatible shapes: (1, 64) in the checkpoint but (1, 128) in the model! You might want to double check if this is expected.
WARNING [11/17 14:15:01 fvcore.common.checkpoint]: Some model parameters or buffers are not found in the checkpoint:
roi_heads.box_predictor.0.cls_score.{detection_weight, zs_weight}
roi_heads.box_predictor.0.fc1.{bias, weight}
roi_heads.box_predictor.0.fc2.weight
roi_heads.box_predictor.0.weight_transform.0.{bias, weight}
roi_heads.box_predictor.0.weight_transform.2.weight
roi_heads.box_predictor.1.cls_score.{detection_weight, zs_weight}
roi_heads.box_predictor.1.fc1.{bias, weight}
roi_heads.box_predictor.1.fc2.weight
roi_heads.box_predictor.1.weight_transform.0.{bias, weight}
roi_heads.box_predictor.1.weight_transform.2.weight
roi_heads.box_predictor.2.cls_score.{detection_weight, zs_weight}
roi_heads.box_predictor.2.fc1.{bias, weight}
roi_heads.box_predictor.2.fc2.weight
roi_heads.box_predictor.2.weight_transform.0.{bias, weight}
roi_heads.box_predictor.2.weight_transform.2.weight
Version Details
- Version ID
a671251d28c23a1a476ecfe2e0e4924d49d8141d318eb7fe938b2dcdec952fdd- Version Created
- November 15, 2023