wupeng1989
wupeng1989
in function _make_layer ,add layers why is *for stride in strides, not for i in range(0, num_blocks): def _make_layer(self, block, out_channels, num_blocks, stride): """make resnet layers(by layer i didnt mean...
` if torch.cuda.is_available(): ......... model = model.cuda() classifier = classifier.cuda() criterion = criterion.cuda() cudnn.benchmark = True model.load_state_dict(state_dict) `
May I know how to train a pretrained complete multimodal model? Does setting arg.mr=0 in the code means set to train complete multimodal model. But when I set arg.mr=0, miss_2[-1]=1.0,...