mdz/pytorch/TSN/2_compile/config/customop/TSN.toml

13 lines
689 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[ImageMake]
forward_dll = "C:/Icraft/CLI/bin/customop.ImageMake.dll"
forward_so = ""
no_imkpad = 1
[WarpAffine]
forward_dll = "C:/Icraft/CLI/bin/customop.WarpAffine.dll"
forward_so = ""
src_size=[1920,1080] # 输入图片的size, 必需输入,格式为[W,H]
M =[[0.1167,0.0,0.0],[0.0,0.2074,0.0]] # M为空时默认为[[1,0,0],[0,1,0]]
flags = 1 # 1-INTER_LINEAR or 0-INTER_NEAREST默认为1
borderMode = 0 # 0-BORDER_CONSTANT pad常量 or 1-BORDER_REPLICATE复制最边缘像素默认为0注意目前只支持pad常量
borderValue = 0 # 当 borderMode取值为 BORDER_CONSTANT 时指定pad value默认为0注意目前只支持pad value=0