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.
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.