-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
Two models I'm trying to load in tract have . in the symbol names: DynamicDimension.0 and DynamicDimension.1. I fixed that, but I'm confused why it can't unify a symbol with a value. In addition I tried setting it with --set DynamicDimension.0=1, asserting it with --assert DynamicDimension.0==1, but nothing seems to work.
cargo run --release -- ../../ocr/models/ch_PP-OCRv5_rec_mobile_infer.onnx -i 1,3,48,218
2025-08-19T13:41:26.035560510Z ERROR tract] Error at stage "analyse"
Caused by:
0: ModelBuildingError
1: Failed analyse for node #249 "Conv.0" ConvHir
2: Infering facts
3: Applying rule outputs[0].shape == 1,16,24,109
4: Unifying shapes DynamicDimension.0,16,24,1+(DynamicDimension.1)/2 and 1,16,24,109
5: xx: Impossible to unify Sym(DynamicDimension.0) with Val(1).
Metadata
Metadata
Assignees
Labels
No labels