ResidualAttentionNetwork-pytorch
ResidualAttentionNetwork-pytorch copied to clipboard
a pytorch code about Residual Attention Network. This code is based on two projects from
I follow the insturction and run: CUDA_VISIBLE_DEVICES=0 python train.py but I get TypeError: empty() received an invalid combination of arguments - got (tuple, dtype=NoneType, device=NoneType), but expected one of: *...
excuse me,your code bring me a big help about my research,but,when i run the train.py,it appears the following errors,do you konw how to fix it? thank you! RuntimeError: An attempt...
Thanks for your job! I have a question about the expression of mix attention. And is conv->relu->conv->sigmoid able to represent it?
where the code has stage 0 which doesn't exist in the paper

File "/home//ResidualAttentionNetwork-pytorch-master/Residual-Attention-Network/model/attention_module.py", line 249, in forward out_interp3 = self.interpolation3(out_softmax3) + out_softmax2 RuntimeError: The size of tensor a (14) must match the size of tensor b (2) at non-singleton dimension 3
I want to use this code for another dataset, which parameter makes sure that my new data will be used for the model trained on CIFAR? And do you have...
about the code "out_interp = self.interpolation1(out_middle_2r_blocks) + out_down_residual_blocks1"
hello ,thank you for your code! But I have a question about your code.The episode in your code seems to be no such operation in the paper and in the...
test code: # print('%s :Accuracy of the model on the test images: %d %%' % (datetime.now(),100 * correct / total)) # print('Accuracy of the model on the test images:', correct.item()/total)...
TypeError: new() received an invalid combination of arguments - got (float, int, int, int), but expected one of: * (torch.device device) * (torch.Storage storage) * (Tensor other) * (tuple of...