silverbulletmdc / PVEN

Parsing based vehicle ReID
109 stars 24 forks source link

NameError: name 'path' is not defined #15

Closed MAdil45 closed 4 years ago

MAdil45 commented 4 years ago

Hi. I am trying to generate description pickle file for veri776 benchmark. I have provided the input and output path, however, I am getting error of Path is not defined. Could you please provide the guidance of how to handle this. Thanks. Screenshot from 2020-10-26 11-22-46

silverbulletmdc commented 4 years ago

Thanks for your response. I have fixed it.

MAdil45 commented 4 years ago

@silverbulletmdc Thank you so much. However, it showed an error of no module Path. I tried from pathlib import Path, which solved it. Also on line number 41, it should be pkl.dump(output_dict, f), not pickle.dump(output_dic,f). Thanks again. Much appreciated.