xxradon / PytorchToCaffe

Pytorch model to caffe model, supported pytorch 0.3, 0.3.1, 0.4, 0.4.1 ,1.0 , 1.0.1 , 1.2 ,1.3 .notice that only pytorch 1.1 have some bugs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'list' object has no attribute 'data'

bleakie opened this issue · comments

我使用的mobilenetv2转成caffe model,verify_deploy.py遇到以下几个问题

  1. 'list' object has no attribute 'data' 在 pytorch_data = pytorch_blobs.data.numpy().flatten()

2.forward_pytorch和forward_caffe的输出是3,而代码中调用输出是4

3.caffe_blobs里没有cat_blob1