Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: need at least one array to concatenate #83

Open
ianphoi opened this issue Sep 29, 2022 · 2 comments
Open

ValueError: need at least one array to concatenate #83

ianphoi opened this issue Sep 29, 2022 · 2 comments

Comments

@ianphoi
Copy link

ianphoi commented Sep 29, 2022

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

@ianphoi ianphoi closed this as completed Oct 3, 2022
@ianphoi ianphoi changed the title python: can't open file 'C:\\Users\\xxx\\dgcnn\\main.py': [Errno 2] No such file or directory The syntax of the command is incorrect. After changing cp to copy Oct 3, 2022
@ianphoi ianphoi reopened this Oct 3, 2022
@ianphoi ianphoi changed the title The syntax of the command is incorrect. After changing cp to copy ValueError: need at least one array to concatenate Oct 3, 2022
@xuanyuulin
Copy link

?

@KorolLich
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants