Unable to create a scheduler for YOLOV8
What commit version of aidge do you use
-
aidge
: 0.5.0 -
aidge_backend_cpu
: 0.5.0 -
aidge_backend_opencv
: 0.1.5 -
aidge_core
: 0.5.1 -
aidge_export_cpp
: 0.2.1 -
aidge_learning
: 0.2.3 -
aidge_onnx
: 0.4.1
Problem description
A scheduler should be created.
It is not a regression.
Reproducible example code: The script script_scheduler.py with the ONNX https://gitlab.eclipse.org/-/project/5139/uploads/395bd359dbdd80535c0b68bfa66cf7d9/YOLO_LARD_dataset.onnx produces this log:
(env_aidge_p10) farges@WDTIS181H:/mnt/d/farges/Documents/VBL$ python3 script_scheduler.py
[NOTICE] - - model_22_Expand (Expand)
[NOTICE] - - model_22_Expand_1 (Expand)
[NOTICE] - - model_22_Expand_2 (Expand)
[NOTICE] - - model_22_Expand_3 (Expand)
[NOTICE] - - model_22_Expand_4 (Expand)
[NOTICE] - - model_22_Expand_5 (Expand)
Native operators: 609 (23 types)
- Add: 20
- Concat: 25
- ConstantOfShape: 3
- Conv2D: 29
- ConvTranspose2D: 1
- Div: 10
- Expand: 6
- Gather: 9
- Mul: 85
- PaddedConv2D: 47
- PaddedMaxPooling2D: 3
- Producer: 246
- Reshape: 11
- Resize: 2
- Shape: 9
- Sigmoid: 67
- Slice: 18
- Softmax: 1
- Split: 2
- Squeeze: 3
- Sub: 2
- Transpose: 3
- Unsqueeze: 7
Generic operators: 0 (0 types)
Native types coverage: 100.0% (23/23)
Native operators coverage: 100.0% (609/609)
****************** Compiling
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Gather_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Gather_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Gather_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Split_Op: unable to forwardDims() because output dims are data dependent on input#1
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - Expand: cannot execute forwardDims() as the output dimensions are computed from some
[WARNING] input data.
[WARNING] - ConstantOfShape : unable to forwardDims() because output dims are data dependent on
[WARNING] input#0
[WARNING] - Unable to forward dimensions (circular dependency and/or wrong dimensions and/or data
[WARNING] dependent dimension?). Unable to compute output dims for nodes ["model_2_Mul (Mul)",
[WARNING] "model_2_Gather (Gather)", "model_2_Add (Add)", "model_2_Div (Div)", "model_15_Add
[WARNING] (Add)", "model_2_Slice (Slice)", "model_2_Mul_1 (Mul)", "model_2_Slice_1 (Slice)",
[WARNING] "model_2_m_0_cv1_conv_Conv (PaddedConv2D)", "model_2_m_0_cv2_conv_Conv (PaddedConv2D)",
[WARNING] "model_2_cv2_conv_Conv (Conv2D)", "model_3_conv_Conv (PaddedConv2D)",
[WARNING] "model_4_cv1_conv_Conv (Conv2D)", "model_4_Gather (Gather)", "model_4_Add (Add)",
[WARNING] "model_4_Div (Div)", "model_4_Mul (Mul)", "model_4_Slice (Slice)", "model_4_Mul_1
[WARNING] (Mul)", "model_4_Slice_1 (Slice)", "model_4_m_0_cv1_conv_Conv (PaddedConv2D)",
[WARNING] "model_4_m_0_cv2_conv_Conv (PaddedConv2D)", "model_4_m_1_cv1_conv_Conv (PaddedConv2D)",
[WARNING] "model_4_m_1_cv2_conv_Conv (PaddedConv2D)", "model_4_cv2_conv_Conv (Conv2D)",
[WARNING] "model_5_conv_Conv (PaddedConv2D)", "model_6_cv1_conv_Conv (Conv2D)", "model_6_Gather
[WARNING] (Gather)", "model_6_Add (Add)", "model_6_Div (Div)", "model_6_Mul (Mul)", "model_6_Slice
[WARNING] (Slice)", "model_6_Mul_1 (Mul)", "model_6_Slice_1 (Slice)", "model_6_m_0_cv1_conv_Conv
[WARNING] (PaddedConv2D)", "model_6_m_0_cv2_conv_Conv (PaddedConv2D)", "model_6_m_1_cv1_conv_Conv
[WARNING] (PaddedConv2D)", "model_6_m_1_cv2_conv_Conv (PaddedConv2D)", "model_6_cv2_conv_Conv
[WARNING] (Conv2D)", "model_7_conv_Conv (PaddedConv2D)", "model_8_cv1_conv_Conv (Conv2D)",
[WARNING] "model_8_Gather (Gather)", "model_8_Add (Add)", "model_8_Div (Div)", "model_8_Mul
[WARNING] (Mul)", "model_8_Slice (Slice)", "model_8_Mul_1 (Mul)", "model_8_Slice_1 (Slice)",
[WARNING] "model_8_m_0_cv1_conv_Conv (PaddedConv2D)", "model_8_m_0_cv2_conv_Conv (PaddedConv2D)",
[WARNING] "model_8_cv2_conv_Conv (Conv2D)", "model_9_cv1_conv_Conv (Conv2D)",
[WARNING] "model_9_cv2_conv_Conv (Conv2D)", "model_12_cv1_conv_Conv (Conv2D)", "model_10_Resize
[WARNING] (Resize)", "model_12_Gather (Gather)", "model_12_Add (Add)", "model_12_Div (Div)",
[WARNING] "model_12_Mul (Mul)", "model_12_Slice (Slice)", "model_12_Mul_1 (Mul)",
[WARNING] "model_12_Slice_1 (Slice)", "model_12_m_0_cv1_conv_Conv (PaddedConv2D)",
[WARNING] "model_12_m_0_cv2_conv_Conv (PaddedConv2D)", "model_12_cv2_conv_Conv (Conv2D)",
[WARNING] "model_15_cv1_conv_Conv (Conv2D)", "model_13_Resize (Resize)", "model_15_Gather
[WARNING] (Gather)", "model_15_Div (Div)", "model_15_Mul (Mul)", "model_15_Slice (Slice)",
[WARNING] "model_15_Mul_1 (Mul)", "model_15_Slice_1 (Slice)", "model_15_m_0_cv1_conv_Conv
[WARNING] (PaddedConv2D)", "model_15_m_0_cv2_conv_Conv (PaddedConv2D)", "model_15_cv2_conv_Conv
[WARNING] (Conv2D)", "model_16_conv_Conv (PaddedConv2D)", "model_18_cv1_conv_Conv (Conv2D)",
[WARNING] "model_18_Gather (Gather)", "model_18_Add (Add)", "model_18_Div (Div)", "model_18_Mul
[WARNING] (Mul)", "model_18_Slice (Slice)", "model_18_Mul_1 (Mul)", "model_18_Slice_1 (Slice)",
[WARNING] "model_18_m_0_cv1_conv_Conv (PaddedConv2D)", "model_18_m_0_cv2_conv_Conv
[WARNING] (PaddedConv2D)", "model_18_cv2_conv_Conv (Conv2D)", "model_19_conv_Conv (PaddedConv2D)",
[WARNING] "model_21_cv1_conv_Conv (Conv2D)", "model_21_Gather (Gather)", "model_21_Add (Add)",
[WARNING] "model_21_Div (Div)", "model_21_Mul (Mul)", "model_21_Slice (Slice)", "model_21_Mul_1
[WARNING] (Mul)", "model_21_Slice_1 (Slice)", "model_21_m_0_cv1_conv_Conv (PaddedConv2D)",
[WARNING] "model_21_m_0_cv2_conv_Conv (PaddedConv2D)", "model_21_cv2_conv_Conv (Conv2D)",
[WARNING] "model_22_proto_cv1_conv_Conv (PaddedConv2D)", "model_22_proto_upsample_ConvTranspose
[WARNING] (ConvTranspose2D)", "model_22_proto_cv2_conv_Conv (PaddedConv2D)",
[WARNING] "model_22_proto_cv3_conv_Conv (Conv2D)", "model_22_cv4_0_cv4_0_0_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv4_0_cv4_0_1_conv_Conv (PaddedConv2D)",
[WARNING] "model_22_cv4_0_cv4_0_2_Conv (Conv2D)", "model_22_Reshape (Reshape)",
[WARNING] "model_22_cv4_1_cv4_1_0_conv_Conv (PaddedConv2D)", "model_22_cv4_1_cv4_1_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_Reshape_1 (Reshape)", "model_22_cv4_1_cv4_1_2_Conv (Conv2D)",
[WARNING] "model_22_cv4_2_cv4_2_0_conv_Conv (PaddedConv2D)", "model_22_cv4_2_cv4_2_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_Reshape_2 (Reshape)", "model_22_cv4_2_cv4_2_2_Conv (Conv2D)",
[WARNING] "model_22_cv2_0_cv2_0_0_conv_Conv (PaddedConv2D)", "model_22_cv2_0_cv2_0_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv2_0_cv2_0_2_Conv (Conv2D)",
[WARNING] "model_22_cv3_0_cv3_0_0_conv_Conv (PaddedConv2D)", "model_22_cv3_0_cv3_0_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv3_0_cv3_0_2_Conv (Conv2D)",
[WARNING] "model_22_cv2_1_cv2_1_0_conv_Conv (PaddedConv2D)", "model_22_cv2_1_cv2_1_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv2_1_cv2_1_2_Conv (Conv2D)",
[WARNING] "model_22_cv3_1_cv3_1_0_conv_Conv (PaddedConv2D)", "model_22_cv3_1_cv3_1_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv3_1_cv3_1_2_Conv (Conv2D)",
[WARNING] "model_22_cv2_2_cv2_2_0_conv_Conv (PaddedConv2D)", "model_22_cv2_2_cv2_2_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv2_2_cv2_2_2_Conv (Conv2D)",
[WARNING] "model_22_cv3_2_cv3_2_0_conv_Conv (PaddedConv2D)", "model_22_cv3_2_cv3_2_1_conv_Conv
[WARNING] (PaddedConv2D)", "model_22_cv3_2_cv3_2_2_Conv (Conv2D)", "model_22_Split (Split)",
[WARNING] "model_22_Squeeze_output_0 (Squeeze)", "model_22_Squeeze_1_output_0 (Squeeze)",
[WARNING] "model_22_Squeeze_2_output_0 (Squeeze)", "model_22_Expand (Expand)",
[WARNING] "model_22_ConstantOfShape_output_0 (ConstantOfShape)", "model_22_Expand_1 (Expand)",
[WARNING] "model_22_Unsqueeze_output_0 (Unsqueeze)", "model_22_Unsqueeze_1_output_0 (Unsqueeze)",
[WARNING] "model_22_Reshape_3 (Reshape)", "model_22_Expand_2 (Expand)", "model_22_Expand_3
[WARNING] (Expand)", "model_22_Unsqueeze_2_output_0 (Unsqueeze)", "model_22_Unsqueeze_3_output_0
[WARNING] (Unsqueeze)", "model_22_Reshape_4 (Reshape)", "model_22_ConstantOfShape_1_output_0
[WARNING] (ConstantOfShape)", "model_22_Expand_4 (Expand)", "model_22_Expand_5 (Expand)",
[WARNING] "model_22_Unsqueeze_4_output_0 (Unsqueeze)", "model_22_Unsqueeze_5_output_0
[WARNING] (Unsqueeze)", "model_22_Reshape_5 (Reshape)", "model_22_ConstantOfShape_2_output_0
[WARNING] (ConstantOfShape)", "model_22_Reshape_6 (Reshape)", "model_22_Reshape_7 (Reshape)",
[WARNING] "model_22_Reshape_8 (Reshape)", "model_22_Split_1 (Split)", "model_22_dfl_Reshape
[WARNING] (Reshape)", "model_22_dfl_conv_Conv (Conv2D)", "model_22_dfl_Reshape_1 (Reshape)",
[WARNING] "model_22_Unsqueeze_6_output_0 (Unsqueeze)", "model_22_Gather (Gather)", "model_22_Add_3
[WARNING] (Add)", "model_22_Div (Div)", "model_22_Mul (Mul)", "model_22_Slice (Slice)",
[WARNING] "model_22_Mul_1 (Mul)", "model_22_Slice_1 (Slice)", "model_22_Div_1 (Div)"].
********* Creating scheduler
[ERROR] - Assertion failed: exists(key) in /mnt/d/farges/Documents/aidge/env_aidge_p10/lib/libAidge/include/aidge/utils/Registrar.hpp:79
[FATAL] - missing or invalid registrar key: [Float32, Default, [(28, 28), (1, 1)], Float32, Default,
[FATAL] [(2, 2)]], [Float32, Default, []] for registrable object
[FATAL] N5Aidge16OperatorImpl_cpuINS_9Expand_OpEFvRKSt10shared_ptrINS_6TensorEES6_PvRKSt6vectorImS
[FATAL] ImEEEFvvEEE
[FATAL] Did you include/import the corresponding module?
[FATAL] If so, it is possible that the object is not yet supported.
[FATAL]
[FATAL] Available registrar keys are:
[FATAL] [Float64, Any, [], Int64, Any, []], [Float64, Any, []]
[FATAL] [Float32, Any, [], Int64, Any, []], [Float32, Any, []]
[FATAL] [Float16, Any, [], Int64, Any, []], [Float16, Any, []]
[FATAL] [Int16, Any, [], Int64, Any, []], [Int16, Any, []]
[FATAL] [Int32, Any, [], Int64, Any, []], [Int32, Any, []]
[FATAL] [Int64, Any, [], Int64, Any, []], [Int64, Any, []]
Traceback (most recent call last):
File "/mnt/d/farges/Documents/VBL/script_scheduler.py", line 15, in <module>
scheduler = aidge_core.SequentialScheduler(model)
RuntimeError: missing or invalid registrar key: [Float32, Default, [(28, 28), (1, 1)], Float32, Default, [(2, 2)]], [Float32, Default, []] for registrable object N5Aidge16OperatorImpl_cpuINS_9Expand_OpEFvRKSt10shared_ptrINS_6TensorEES6_PvRKSt6vectorImSaImEEEFvvEEE
Did you include/import the corresponding module?
If so, it is possible that the object is not yet supported.
Available registrar keys are:
[Float64, Any, [], Int64, Any, []], [Float64, Any, []]
[Float32, Any, [], Int64, Any, []], [Float32, Any, []]
[Float16, Any, [], Int64, Any, []], [Float16, Any, []]
[Int16, Any, [], Int64, Any, []], [Int16, Any, []]
[Int32, Any, [], Int64, Any, []], [Int32, Any, []]
[Int64, Any, [], Int64, Any, []], [Int64, Any, []]