SAM-Adapter-PyTorch
SAM-Adapter-PyTorch copied to clipboard
dimension error
/home/a/miniconda3/envs/zzq_sot/lib/python3.10/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
warnings.warn(
config loaded.
train dataset: size=37
inp: shape=(3, 1024, 1024)
gt: shape=(1, 1024, 1024)
val dataset: size=24
inp: shape=(3, 1024, 1024)
gt: shape=(1, 1024, 1024)
inp_rgb: shape=(3, 1024, 1024)
model: #params=224.5M
model_grad_params: 3943789
model_total_params: 224512925
model_grad_params: 3943789
train: 0%| | 0/37 [00:00<?, ?it/s]Traceback (most recent call last):
File "/data/zzq/object_tracking/SAM-Adapter-PyTorch/train.py", line 257, in