Open puppy2000 opened 2 years ago
Did you find the solution?
Edit ResidualBlock in basic_layers.py by replacing all / with //. For example, in line 16, you should write as
self.conv1 = nn.Conv2d(input_channels, output_channels//4, 1, 1, bias = False)
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:
what's wrong with this code?