I find that the resnet18 onnx model exported from pytorch differs in 0.4.0 and 0.4.1.
I use https://github.com/lutzroeder/netron 9 to visualize the resnet18.onnx model,
0.4.0:

image.png649×1646 43 KB

0.4.1:

  
      
      imgbb.com
  
  
    

resnet18-0-4-1 22

Image resnet18-0-4-1 hosted in imgbb.com


  
  
    
    
  
  


The last few layers after average_pooling are different.
I am not sure what’s the problem. Thanks.