GANimation icon indicating copy to clipboard operation
GANimation copied to clipboard

TypeError: iteration over a 0-d array

Open Prashant-mahajan opened this issue 6 years ago • 0 comments

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.

Prashant-mahajan avatar Jun 17 '19 20:06 Prashant-mahajan