If you do type(rsrc)
you will see that rsrc
has the type requests.models.Response
. You can get the contents of such a response with:
>>> rsrc.text
<!DOCTYPE html><html><head><meta name="google" content="notranslate"><meta http-equiv="X-UA-Compatible" content="IE=edge;"><style nonce="UHrvWsqb8JI0negLQeFQ4A">@font-face{font-family:'Roboto';font-style:italic;font-weight:400;src:url(//fonts.gstatic.com/s/roboto/v18/KFOkCnqEu92Fr1Mu51xIIzc.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:300;src:url(//fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmSU5fBBc9.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:url(//fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxP.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;src:url(//fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmWUlfBBc9.ttf)format('truetype');}</style><meta name="referrer" content="origin"><title>yolov3_last.weights - Google Drive</title><meta property="og:title" content="yolov3_last.weights"><meta property="og:type" content="article"><meta property="og:site_name" content="Google Docs">
[...]</script></body></html>
So you see that you downloaded a html page, but not the contents of your yolov3_last.weights file itself.
You wil need to use a library like PyDrive to connect to Google Drive and download your file, see here for a tutorial. Or you can use the code in this answer.