Hugging Face, Weights And Biases, Fiftyone, Model Evaluation, Hyperparameter Tuning.
num_labels = len( dataset.distinct(f"{gt_field}.detections.label") ) model = DetrForObjectDetection.from_pretrained( "facebook/detr-resnet-50", revision="no_timm", num_labels=num_labels, ignore_mismatched_sizes=True, ) custom_id = get_run_id(dataset) init_wandb_run(dataset, custom_id)