I’ve installed pytorch 1.0 on ubuntu18.04.
When I try to use webcam demo provided by  maskrcnn-benchmark. An error occured:
Traceback (most recent call last):
File “webcam.py”, line 80, in 
main()
File “webcam.py”, line 64, in main
min_image_size=args.min_image_size,
File “/home/aisen/github/maskrcnn-benchmark/demo/predictor.py”, line 149, in init
_ = checkpointer.load(cfg.MODEL.WEIGHT)
File “/home/aisen/github/maskrcnn-benchmark/maskrcnn_benchmark/utils/checkpoint.py”, line 61, in load
checkpoint = self._load_file(f)
File “/home/aisen/github/maskrcnn-benchmark/maskrcnn_benchmark/utils/checkpoint.py”, line 134, in _load_file
return load_c2_format(self.cfg, f)
File “/home/aisen/github/maskrcnn-benchmark/maskrcnn_benchmark/utils/c2_model_loading.py”, line 206, in load_c2_format
return C2_FORMAT_LOADER[cfg.MODEL.BACKBONE.CONV_BODY](cfg, f)
File “/home/aisen/github/maskrcnn-benchmark/maskrcnn_benchmark/utils/c2_model_loading.py”, line 192, in load_resnet_c2_format
state_dict = _load_c2_pickled_weights(f)
File “/home/aisen/github/maskrcnn-benchmark/maskrcnn_benchmark/utils/c2_model_loading.py”, line 136, in _load_c2_pickled_weights
data = pickle.load(f, encoding=“latin1”)
_pickle.UnpicklingError: pickle data was truncated