강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

winter님의 프로필 이미지
winter

작성한 질문수

[라즈베리파이] IoT 딥러닝 Computer Vision 실전 프로젝트

라즈베리파이에서 실행하기

질문있습니다!

작성

·

286

0

Traceback (most recent call last):

  File "RBP_DL21_YOLO_car.py", line 94, in <module>

    blob.upload_from_filename(file_name)

  File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/google/cloud/storage/blob.py", line 2355, in upload_from_filename

    checksum=checksum,

  File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/google/cloud/storage/blob.py", line 2246, in upload_from_file

    _raise_from_invalid_response(exc)

  File "/home/pi/.virtualenvs/cv/lib/python3.7/site-packages/google/cloud/storage/blob.py", line 3668, in _raise_from_invalid_response

    raise exceptions.from_http_status(response.status_code, message, response=response)

google.api_core.exceptions.NotFound: 404 POST https://storage.googleapis.com/upload/storage/v1/b/fireiot.appspot.com/o?uploadType=multipart: {

  "error": {

    "code": 404,

    "message": "Not Found",

    "errors": [

      {

        "message": "Not Found",

        "domain": "global",

        "reason": "notFound"

      }

    ]

  }

}

: ('Request failed with status code', 404, 'Expected one of', <HTTPStatus.OK: 200>)

이미지도 탐색기에서 잘열리고..파일을 못찾는건 아닌거 같은데 먼가 라이브러리에 문제가 있는건가요? 

마지막줄은 파일이 안열리니 파이어베이스에서 못적는다고 하는것 같네요

답변 1

0

안녕하세요?

에러 메시지만 보면 파일을 못찾는 다는 것인데 파이어베이스 콘솔로 들어가서 파일의 존재여부를 확인하세요.

감사합니다.

winter님의 프로필 이미지
winter

작성한 질문수

질문하기