Suggestion: merge dataset in `val` and `train` folder to train for final epochs
Author: LeMinhNganCreated Aug 15, 2026Updated Aug 25, 2026
Labelsenhancement
Search before asking
- I have searched the RF-DETR issues and found no similar feature requests.
Description
Hello,
Practically, after completion of a normal training pipeline until the last epoch or early-stop condition, we will:
- Check
train\lossandval metricsto confirm if the training already hit its limits and satisfy our requirement - Manually copy dataset in folder
.\dataset_dir\valinto folder.\dataset_dir\train; and create new_annotations.coco.jsonfile to merge them all. There is no change tovaldataset, but onlytraindataset. Purpose: utilize all labeled dataset for training before ending and exporting the final best checkpoint. - Extend the training argument
epochs10-20 extra epochs and resume on training fromlast.ckpt - Finish and use the best checkpoint for prediction or ONNX conversion
Suggestion:
Simplify step 2 by establishing a new training argument, for example called train_all_dataset:bool to let the program either automatically include the labeled dataset in .\dataset_dir\val into training (if set True) or train on .\dataset_dir\train dataset only (if set False)
Use case
No response
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Source: roboflow/rf-detr