deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.64k stars 5.44k forks source link

Google Colab [Errno 2] No such file or directory: 'property' #1046

Open ansh103 opened 4 years ago

ansh103 commented 4 years ago

I'm running Python 2.7 in Google Colab and downloaded the pre-trained model as well from the model zoo. While running the verification.py file I'm getting the following error:-

`IOErrorTraceback (most recent call last) /content/insightface/src/eval/verification.py in () 518 args = parser.parse_args() 519 --> 520 prop = face_image.load_property(args.data_dir) 521 image_size = prop.image_size 522 print('image_size', image_size)

/content/insightface/src/eval/../common/face_image.py in load_property(data_dir) 8 def load_property(data_dir): 9 prop = edict() ---> 10 for line in open(os.path.join(data_dir, 'property')): 11 vec = line.strip().split(',') 12 assert len(vec)==3

IOError: [Errno 2] No such file or directory: 'property'`

I'm new to Insightface. Can anyone help me out or tell me what additional info is needed to solve the problem?

Ehtasha commented 4 years ago

@ansh103 Have you resolve this issue ?

I'm also facing this issue.