quhaoooo
quhaoooo
ok 重新拉去后这个问题就消失了,作者太给力了然后我往下运行,出现了:  基本上是光流和transformer相关的,这些算子作者有继续支持的计划吗? 除了error,logs中打印了许多的warning,如:  和  对于这些warning如果不修改的话会导致转换后的模型输出不正确是吗?
您好,我列一下模型中调用算子的地方 1. grid_sample ``` import torch.nn.functional as F output = F.grid_sample( x, grid_flow, mode=interpolation, padding_mode=padding_mode, align_corners=align_corners) ``` 2. fill_ ``` mask = x_window_pooled.new(T, nWh, nWw).fill_(1) ``` 3. img2col这个是`nn.Unfold`中调用了的 ``` return...
不好意思,第一次搞转化,直接跳过的 new_zeros, new_ones 还是麻烦您说一下。 fill_有直接对应的是啥意思呢?感谢
@peterjc123 好的,请问一下这两个算子为什么是可以设置成不需要跟踪,另外至于fill_呢。 感谢
新生成的变量不需要跟踪,但是通过您的代码也会转成tfl是吧? 对于fill转换的实现,按照 https://github.com/alibaba/TinyNeuralNetwork/blob/main/docs/FAQ_zh-CN.md#%E7%AE%97%E5%AD%90%E4%B8%8D%E6%94%AF%E6%8C%81%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86 > 查阅TorchScript和TFLite的Schema,选取两边对应的OP 似乎在https://github.com/alibaba/TinyNeuralNetwork/blob/main/tinynn/converter/schemas/torch/aten_schema.py 没有找到fill_对应的OP
@peterjc123 好的,我去了解。谢谢大佬