liuge1008
liuge1008
When I use your following code to load the model: source_state = torch.load(args.weight) target_state = OrderedDict() for k, v in source_state.items(): if k[:7] != 'module.': k = 'module.' + k...
[ 1%] Building CXX object source/rcnn/layers/CMakeFiles/layers.dir/batch_norm.cpp.o [ 2%] Building CXX object source/rcnn/layers/CMakeFiles/layers.dir/conv2d.cpp.o In file included from /home/b324-no2/lg/maskrcnn_benchmark.cpp-master/source/rcnn/layers/conv2d.cpp:1:0: /home/b324-no2/lg/maskrcnn_benchmark.cpp-master/source/rcnn/layers/../../../include/rcnn/layers/conv2d.h:9:59: error: expected template-name before ‘