WangYueFt / dgcnn

MIT License
1.62k stars 420 forks source link

ValueError: need at least one array to concatenate #83

Open ianphoi opened 1 year ago

ianphoi commented 1 year ago

File "C:\Users\ianph\dgcnn\pytorch\main.py", line 225, in train(args, io) File "C:\Users\ianph\dgcnn\pytorch\main.py", line 40, in train train_loader = DataLoader(ModelNet40(partition='train', num_points=args.num_points), num_workers=8, File "C:\Users\ianph\dgcnn\pytorch\data.py", line 66, in init self.data, self.label = load_data(partition) File "C:\Users\ianph\dgcnn\pytorch\data.py", line 45, in load_data all_data = np.concatenate(all_data, axis=0) File "<__array_function__ internals>", line 180, in concatenate

xuanyuulin commented 6 months ago

?

KorolLich commented 4 months ago

If your data/ folder is empty, so it can be caused by expired certificates of https://shapenet.cs.stanford.edu. To fix it, you need to add "--no-check-certificate" argument for wget utility: https://github.com/WangYueFt/dgcnn/blob/master/pytorch/data.py#L27C2-L27C56