Raschka-research-group / coral-cnn

Rank Consistent Ordinal Regression for Neural Networks with Application to Age Estimation
https://www.sciencedirect.com/science/article/pii/S016786552030413X
MIT License
335 stars 62 forks source link

how I use processed datasets about CACD #34

Closed annoyc closed 3 years ago

annoyc commented 3 years ago

like the question, I run preprocess-cacd.py file and save the processed picture to CACD2000-centered. and then I change the file path to CACD2000-centered, but when I run the cacd-coral.py ,there was an error saying that it can not find a picture with a name.

rasbt commented 3 years ago

You may have to update the path in the cacd-....py scripts to match the path where the jpg files are located. I.e., this particular line: Screen Shot 2021-05-23 at 10 03 46 AM

annoyc commented 3 years ago

I have changed the path to /CARD2000-center/, but it still not work,and I checked the number of all processed pictures, finding that it's a thousand fewer than unprocessed pictures.I thought the reason is that the csv file can't find the pictures preprocessed failed like the closed issue 2 said..

rasbt commented 3 years ago

Hm not sure what's going on. For convenience, I uploaded .tar.gz archive of the center-cropped CACD images used in the paper you can use: https://drive.google.com/file/d/198xcS0B32KBVYB9oL_W5m-7fxattDZpV/view?usp=sharing