ucbdrive / few-shot-object-detection

Implementations of few-shot object detection benchmarks
Apache License 2.0
1.08k stars 225 forks source link

RuntimeError: The expanded size of the tensor (21) must match the existing size (60) at non-singleton dimension 0. Target sizes: [21, 1024]. Tensor sizes: [60, 1024] #199

Open 2765516884 opened 3 months ago

2765516884 commented 3 months ago

When i combined the base weights from the base model with the novel weights, the issue happened. 'RuntimeError: The expanded size of the tensor (21) must match the existing size (60) at non-singleton dimension 0. Target sizes: [21, 1024]. Tensor sizes: [60, 1024]'