Tutorial: from caffe2 error :truncated message

DecodeError Traceback (most recent call last)
in ()
6 self.init_net, self.predict_net, self.value_info = mf.get_c2_model(model_name)
7
----> 8 resnet50 = Model(‘resnet50’)

in init(self, model_name)
4 class Model:
5 def init(self, model_name):
----> 6 self.init_net, self.predict_net, self.value_info = mf.get_c2_model(model_name)
7
8 resnet50 = Model(‘resnet50’)

~/liqiang/Anaconda/ENTER/envs/tvm36/lib/python3.6/site-packages/caffe2/python/models/download.py in get_c2_model(self, model_name)
190 c2_init_net = caffe2_pb2.NetDef()
191 with open(c2_init_pb, ‘rb’) as f:
–> 192 c2_init_net.ParseFromString(f.read())
193 c2_init_net.name = model_name + ‘_init’
194

DecodeError: Error parsing message

I install the pytoch as the tutorials tell:
conda install pytorch-nightly cudatoolkit=9.0 -c pytorch
and I can successfully import torch and caffe2, using python=3.6
the error above still come up,should I downgrade the version of prototbuf?

my env:
pytorch-nightly:1.10
protobuf:3.7.1
libprotobuf:3.7.1