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

TypeError: iteration over a 0-d array #102

Open
Prashant-mahajan opened this issue Jun 17, 2019 · 0 comments
Open

TypeError: iteration over a 0-d array #102

Prashant-mahajan opened this issue Jun 17, 2019 · 0 comments

Comments

@Prashant-mahajan
Copy link

Hi,

I'm trying to implement the code on a custom dataset and followed the necessary step.
My dataset directory consists of:
train_ids.csv - containing the names of all images (128x128 in .jpg form)
test_ids.csv - an image filename
aus_openface.pkl - in the following format:

{'00001': array([ 1.25047e-01,  9.97330e-02, -9.87125e-01, -1.40545e-01,
         9.81250e-02, -9.85200e-01, -8.00000e-03,  1.00000e-01,
         4.33000e+01,  4.46000e+01,  4.72000e+01,  4.96000e+01,
         5.05000e+01,  4.94000e+01,  4.66000e+01,  4.42000e+01,
         3.99000e+01]), ...

and imgs folder containing all training + one test image.

Whenever I execute bash launch/run_train.sh I keep getting above-mentioned error. I'm not sure why code is detecting null dataset. Any help would be appreciated.

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

1 participant