Dose your reproduced CACNet only normally run with the setting of keep_aspect_ratio=False? I have tried to run with the setting of keep_aspect_ratio=True and crop_batch_size=1, however there encountered the following error, I want to know what cause it. Could you please share your perspectives about keep_aspect_ratio=True? :-)
File "/root/CACNet/CACNet.py", line 194, in forward
regression[...,0::2] = offsets[..., 0::2] + self.all_anchors[...,0:1]
RuntimeError: The size of tensor a (44) must match the size of tensor b (28) at non-singleton dimension 2
Hi, thanks for your sharing awesome codes.
Dose your reproduced CACNet only normally run with the setting of
keep_aspect_ratio=False
? I have tried to run with the setting ofkeep_aspect_ratio=True
andcrop_batch_size=1
, however there encountered the following error, I want to know what cause it. Could you please share your perspectives aboutkeep_aspect_ratio=True
? :-)