hollance / BlazeFace-PyTorch

The BlazeFace face detector model implemented in PyTorch
Other
430 stars 91 forks source link

If three ara any pytorch problem? #3

Closed Bilibotter closed 4 years ago

Bilibotter commented 4 years ago

In Inference.ipynb In[5], """net.load_weights("blazeface.pth")""" goes wrong.I check the source code,torch receive a file object but not a string object,and I change just like: """ f = open("blazeface.pth", 'rb') net.load_weights(f) """. After change, it can work properly.