Description
I compiled the latest code from the repository and attempted to train the RF-DETR model, but encountered an error.
Screenshot
Training Code
from libreyolo import LibreRFDETR
def main():
model = LibreRFDETR("weights/rf-detr-large-2026.pth")
result = model.train(
data="datasets",
epochs=100,
batch=16,
device="4,5",
imgsz=640,
lr=1e-4,
output_dir="runs/train/rfdetr_exp",
)
print(f"Training completed: {result}")
if __name__ == "__main__":
main()
Additional Context
I have tried all three pre-trained models available in LibreYOLO/LibreRFDETR, but the same error occurs with all of them. Could you please help me identify what might be causing this issue? Thanks!

Description
I compiled the latest code from the repository and attempted to train the RF-DETR model, but encountered an error.
Screenshot
Training Code
Additional Context
I have tried all three pre-trained models available in
LibreYOLO/LibreRFDETR, but the same error occurs with all of them. Could you please help me identify what might be causing this issue? Thanks!