Closed Data-drone closed 9 months ago
Okay I worked it because mmdet
requires a different way to resize and the correct way to set this is to have resize configured as:
RandomResize(
scale=(1280, 1280),
ratio_range=(0.5, 2.0),
keep_ratio=True,
resize_type='mmdet.datasets.transforms.Resize'
),
When setting the pipeline up with config rather than python then the resize type was being set by the Registry module I guess
I followed this tutorial and it works fine: https://github.com/open-mmlab/mmdetection/blob/main/demo/MMDet_Tutorial.ipynb
My installs are: "mmengine==0.10.2" "mmcv==2.1.0" "mmdet==3.3.0"
When I try to explore how the train pipeline works manually I get:
In my testing, I am initiating the pipeline in a notebook with the following python code:
Why does it work when I run the full thing from the dictionary configs with
runner
but not when I try to explore the pipeline in python? Is there something missing from theHorizontalBox
?