-
Notifications
You must be signed in to change notification settings - Fork 231
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I train a model with no problem using a custom dataset and custom.yml. It gave me a model_checkpoint.ckpt.
the problem is that when I import the weights in the inferences task it doesn't load. Give me this error.
I don't the problem. The path to weights is correct.
Command
CUDA_VISIBLE_DEVICES="0,1" python yolo/lazy.py task=inference name=inference_1 device=cuda:0 model=v9-s weight= YOLO/runs/train/v9-dev/YOLO/kvgc5lvo/checkpoints/epoch_49_step_8250.ckpt task.nms.min_confidence=0.1 task.data.source=/app/dataset/test/images task.save_predict=True hydra.verbose=True dataset=yolo_cars
ERROR
INFO 📄 Created log folder: runs/inference/inference_1 logging_utils.py:324
[03/07/25 12:02:17] INFO ⚡ Using 16bit Automatic Mixed Precision (AMP) rank_zero.py:63
INFO ⚡ Trainer already configured with model summary callbacks: [<class 'yolo.utils.logging_utils.YOLORichModelSummary'>]. Skipping setting a default `ModelSummary` callback. rank_zero.py:63
INFO ⚡ GPU available: True (cuda), used: True rank_zero.py:63
INFO ⚡ TPU available: False, using: 0 TPU cores rank_zero.py:63
INFO ⚡ HPU available: False, using: 0 HPUs rank_zero.py:63
INFO 🚜 Building YOLO yolo.py:35
INFO 🏗 Building backbone yolo.py:38
INFO 🏗 Building neck yolo.py:38
INFO 🏗 Building head yolo.py:38
INFO 🏗 Building detection yolo.py:38
INFO 🏗 Building auxiliary yolo.py:38
WARNING ⚠ Weight Not Found for key: 26.conv2.0.bottleneck.2.conv2 yolo.py:150
WARNING ⚠ Weight Not Found for key: 12.conv3.0.bottleneck.0.conv1.conv1 yolo.py:150
WARNING ⚠ Weight Not Found for key: 15.conv2.0.bottleneck.1.conv1.conv2 yolo.py:150
WARNING ⚠ Weight Not Found for key: 12.conv2.0.conv1 yolo.py:150
WARNING ⚠ Weight Not Found for key: 3.conv yolo.py:150
...
weight: YOLO/runs/train/v9-dev/YOLO/kvgc5lvo/checkpoints/epoch_49_step_8250.ckpt
:warning: Weight Not Found for key: 4.conv3.0.bottleneck.1.conv1.conv2
:warning: Weight Not Found for key: 12.conv3.1
:warning: Weight Not Found for key: 1
GilSeamas and visualIgorec
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working