HTTPError Traceback (most recent call last)
in
1 IMAGE_FILE_PATH = ‘./noob_data/1.jpg’
----> 2 result = inference(IMAGE_FILE_PATH)
3 visualize(IMAGE_FILE_PATH, result)
in inference(filename)
2 with open(filename, ‘rb’) as f:
3 response = session.post(‘https://cv-api.kakaobrain.com/pose’, files={‘file’: f})
----> 4 response.raise_for_status()
5 return response.json()
~\Anaconda3\envs_test\lib\site-packages\requests\models.py in raise_for_status(self)
939
940 if http_error_msg:
–> 941 raise HTTPError(http_error_msg, response=self)
942
943 def close(self):
HTTPError: 403 Client Error: FORBIDDEN for url: https://cv-api.kakaobrain.com/pose