dchen236 / FairFace

450 stars 92 forks source link

The pretrained model is not recognized #9

Closed SionHu closed 3 years ago

SionHu commented 3 years ago

Hi there. Thanks for the great work! I followed the installation guide and tried to run python3 predict_bbox.py --csv test_imgs.csv, but it tells me FileNotFoundError: [Errno 2] No such file or directory: 'fair_face_models/fairface_alldata_20191111.pt'.

I did download the models and put them in the fair_face_models folder as required. Is there another model I should download instead?

Thanks!

datduong commented 3 years ago

Where did you download this pretrained model? I only see the model fairface_alldata_4race_20191111.pt.

PiPiNam commented 3 years ago

hi! Where did you download this pretrained model 'fair_face_models/fairface_alldata_20191111.pt'?

I also want to download it.

Thank you!

datduong commented 3 years ago

The author changed the ".pt" file name. I found a different ".pt" file in their Google Drive and renamed the input variable in the code.

ufousoumo commented 2 years ago

Excuse me, may I ask you that how you get the pretrained models? I could not find the download link of the pretrained model.

Haze211 commented 2 years ago

@ufousoumo You can find the link in the Readme of the repo. This is the link to the pretrained models: https://drive.google.com/drive/folders/1F_pXfbzWvG-bhCpNsRj6F_xsdjpesiFu