instance normalization转换出错
Created by: mensaochun
错误日志: Traceback (most recent call last): File "/home/yourenchun/.conda/envs/torch10py36/lib/python3.6/site-packages/x2paddle/core/op_mapper.py", line 123, in save_inference_model inputs, outputs = model.x2paddle_net() File "/data/projects/iqy_cartoon/reid-strong-baseline-data/trans_models/reid-strong-baseline-data/trans_models/resnet50_ibn_a/model_with_code/model.py", line 72, in x2paddle_net x2paddle_361 = InstanceNormalization_layer([x2paddle_359, x2paddle_base_layer1_0_bn1_IN_weight, x2paddle_base_layer1_0_bn1_IN_bias], name='x2paddle_361') File "/data/projects/iqy_cartoon/reid-strong-baseline-data/trans_models/reid-strong-baseline-data/trans_models/resnet50_ibn_a/model_with_code/model.py", line 9, in InstanceNormalization_layer mean = fluid.layers.reduce_mean(input_, dim=[2, 3], keep_dim=True) File "/home/yourenchun/.conda/envs/torch10py36/lib/python3.6/site-packages/paddle/fluid/layers/nn.py", line 6345, in reduce_mean % (type(input))) TypeError: The type of 'input' in reduce_mean must be Variable, but received <class 'list'>