wayen820 / gender_age_estimation_mxnet

This is a mxnet version implementation of SSR-Net for age and gender Estimation
111 stars 42 forks source link

process_data_wiki_imdb.py: error #16

Open bj32161 opened 5 years ago

bj32161 commented 5 years ago

Hi, I did run command as below. Please advice.

python3 ./process_data_wiki_imdb.py --rootpath ./imdb_crop --outputpath ../../datasets/imdb

usage: process_data_wiki_imdb.py [-h] --rootpath ROOTPATH --outputpath OUTPUTPATH --ratio RATIO --minscore MINSCORE [--align ALIGN] process_data_wiki_imdb.py: error: the following arguments are required: --ratio, --minscore

xysong1201 commented 5 years ago

Hi, I did run command as below. Please advice.

python3 ./process_data_wiki_imdb.py --rootpath ./imdb_crop --outputpath ../../datasets/imdb

usage: process_data_wiki_imdb.py [-h] --rootpath ROOTPATH --outputpath OUTPUTPATH --ratio RATIO --minscore MINSCORE [--align ALIGN] process_data_wiki_imdb.py: error: the following arguments are required: --ratio, --minscore

Hi, just add --ration 0.8 --minscore 1.0

bj32161 commented 5 years ago

Hi, I did run command as below. Please advice. python3 ./process_data_wiki_imdb.py --rootpath ./imdb_crop --outputpath ../../datasets/imdb usage: process_data_wiki_imdb.py [-h] --rootpath ROOTPATH --outputpath OUTPUTPATH --ratio RATIO --minscore MINSCORE [--align ALIGN] process_data_wiki_imdb.py: error: the following arguments are required: --ratio, --minscore

Hi, just add --ration 0.8 --minscore 1.0

I found another error as below $python ./process_data_wiki_imdb.py --rootpath ./imdb_crop --outputpath ../../datasets/imdb --ratio 0.8 --minscore 1.0 .. .. Traceback (most recent call last): File "./process_data_wiki_imdb.py", line 99, in main() File "./process_data_wiki_imdb.py", line 63, in main full_path, dob, gender, photo_taken, face_score, second_face_score, age=get_meta(os.path.join(rootpath, '%s.mat' %metafile), metafile) NameError: name 'metafile' is not defined

DavidGlezGmz commented 1 year ago

Uncomment line 14: metafile='imdb' #imdb or wiki (process_data_wiki_imdb.py). If you are using IMDB, that's correct, in case of WIKI: metafile='wiki'