code: def test_efficient_det_predict_from_dl_threshold(
      fridge_efficientdet_model, fridge_efficientdet_records
  ):
      fridge_efficientdet_model.eval()
  
      infer_dl = efficientdet.infer_dl(
          fridge_efficientdet_records, batch_size=1
      )
      preds = efficientdet.predict_from_dl(
          model=fridge_efficientdet_model,
          infer_dl=infer_dl,
          show_pbar=False,
          detection_threshold=1.0,
      )
  
      assert len(preds[0].pred.detection.label_ids) == 0
  
file_path: icevision/tests/models/efficient_det/test_prediction.py
imports: import pytest
  from icevision.all import *
  import albumentations
  from icevision.models.inference import postprocess_bbox
  from icevision.models.ross import efficientdet
label_desc: Use image node_id 6 for calling a global function with example usage: test_efficient_det_predict_from_dl_threshold(fridge_efficientdet_model, fridge_efficientdet_records) without return types