Keson96 / ResNet_LibTorch

A small example of using new PyTorch C++ frontend to implement ResNet
43 stars 13 forks source link

error when make(libtorch v1.1.0 cuda10.0) #1

Open mathpopo opened 5 years ago

mathpopo commented 5 years ago

/resnet/resnet.cpp:160:13: error: ‘class std::shared_ptr’ has no member named ‘value’ if (m.value.name() == "torch::nn::Conv2dImpl"){ ^~~