-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 stack #23
Comments
Same problem here! |
you should check coco.data and the train file in coco.data. I solved the problem by changing coco.data |
@lookup1980 you are receiving this error because the dataloader is not finding any images to load in the path you provided. If you are trying to train on a custom dataset follow these directions: |
Thank you @pprp and @glenn-jocher ! |
您好,我出现和您同样的错误,请问如何解决?.data中的路径信息是正确的绝对路径。 |
Hello, I have the same mistake as you. How can I solve it? The path information in.data is the correct absolute path. |
Hii, i hve also same problem to convert Dicom file into .npy file. could somebody help me plase? |
Hello! It seems like you're facing an issue with converting DICOM files to .npy format. This task is a bit outside the typical usage of YOLOv3, which primarily deals with image detection tasks. However, you can use libraries like import pydicom
import numpy as np
# Load your DICOM file
dicom = pydicom.dcmread('path_to_dicom_file.dcm')
# Convert to numpy array
array = dicom.pixel_array
# Save to .npy file
np.save('output_file.npy', array) This should help you convert your DICOM files into the format you need. If you have further questions regarding YOLOv3 specifically, feel free to ask! |
I have encountered a problem and really need your help. Can you help me?
I want to train my own coco dataset. When I run
train.py
, the problem occurlike this:
I change the
coco.data
like this:and the
train_path
intrain.py
:Thank you in advance!
The text was updated successfully, but these errors were encountered: