SoftGroup icon indicating copy to clipboard operation
SoftGroup copied to clipboard

python train.py --config config/softgroup_fold5_backbone_s3dis.yaml

Open PengboLi1998 opened this issue 2 years ago • 3 comments

Hi,excuse me .When I run the python train.py --config config/softgroup_fold5_backbone_s3dis.yaml. It throws the following error.Could you please help me ?

Traceback (most recent call last): File "train.py", line 218, in train_epoch(dataset.train_data_loader, model, model_fn, optimizer, epoch) File "train.py", line 48, in train_epoch for i, batch in enumerate(train_loader): File "/home/ketizu/anaconda3/envs/boge2/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 819, in next return self._process_data(data) File "/home/ketizu/anaconda3/envs/boge2/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 846, in _process_data data.reraise() File "/home/ketizu/anaconda3/envs/boge2/lib/python3.6/site-packages/torch/_utils.py", line 369, in reraise raise self.exc_type(msg) TypeError: init() missing 1 required positional argument: 'dtype'

PengboLi1998 avatar Apr 10 '22 04:04 PengboLi1998

I am not sure which causes this error. Please check your installation and data path.

thangvubk avatar Apr 13 '22 04:04 thangvubk

have you solved this error?I met the same problem with my custom data.

liujingangel avatar Jul 14 '22 03:07 liujingangel

have you solved this error?I met the same problem with my custom data.

hello,I was because the Spconv library was installed with the wrong version.

PengboLi1998 avatar Jul 14 '22 11:07 PengboLi1998