sophgo / tpu-mlir

Machine learning compiler based on MLIR for Sophgo TPU.
Other
612 stars 154 forks source link

model_transform.py,pixel_format和channel_format的作用? #184

Closed chenjl12 closed 3 months ago

chenjl12 commented 3 months ago

pixel_format是否能够起到预处理的操作?例如:我的输入图片的bgr,但我的模型导出时设置为rgb,在推理过程中会自动执行bgr->rgb的操作吗? channel_format同问