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 stack #29

Open
renaissanceee opened this issue Sep 22, 2024 · 1 comment
Open

ValueError: need at least one array to stack #29

renaissanceee opened this issue Sep 22, 2024 · 1 comment

Comments

@renaissanceee
Copy link

When I run python train.py --cfg config/example/test/train.yml split train with feicuiwan_sample_folder, the error above takes place.
I follow the structure mentioned in minimal example dataset:

|-data
|- -feicuiwan_sample_folder
|- -|--cache
|- -|--cache_val
|- -|--sparse
@zhuning3645
Copy link

I had the same problem, and here's how I solved it.The main reason is because the suffix of my data is .jpg, but the uppercase .JPG in the configuration file.You can modify the dataset.yml file, delete the previously generated cache file cahe.pkl, and then reload.Good luck

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

2 participants