-
Notifications
You must be signed in to change notification settings - Fork 35
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
File "<__array_function__ internals>", line 180, in concatenate ValueError: need at least one array to concatenate #7
Comments
I have the same error. Further investigation shows that the preprocess step expects .npy files in the dataset folder of Hippocampus/imagesTr, but only .nii.gz files exist (and same goes for imagesTs and labelsTr). |
It seems I have missed the dataset_init function. I have copied it below and will try to make a commit with the updated hippocampus.py soon. Meantime, you can try the function below. Replace line 75 in hippocampus.py with the function call
|
thank you for the update |
Hi I am trying to run the file and put down the path for hippocampus dataset, and as a result, I see the error as stated in the title. Is there some additional lines that need to be put? Thank you
Traceback (most recent call last):
File "data_preprocess.py", line 43, in
main()
File "data_preprocess.py", line 39, in main
data = data_obj.pre_process_dataset(cfg)
File "/home/cs2212/Desktop/voxel2mesh-master/data/hippocampus.py", line 97, in pre_process_dataset
inputs_ = np.concatenate(inputs_, axis=0)
File "<array_function internals>", line 180, in concatenate
ValueError: need at least one array to concatenate
The text was updated successfully, but these errors were encountered: