리뷰 이미지 캡셔닝을 위한 Gemini 지도 미세 조정개

리뷰 581개

Got bugs, sslverificationerror

Silverstream T. · 대략 18시간 전에 리뷰됨

Deepak M. · 2일 전에 리뷰됨

SSL error from task4 -Test baseline model on single image

Priyanka S. · 5일 전에 리뷰됨

RESOURCE_EXHAUSTED error on task 5, I can't validate task 5. tunning time too long (way more than the 20 to 30 minutes expected) not enough time for task 7 within the timer's limit. RESOURCE_EXHAUSTED error again in task 7, blocked again. I did the clean up anyway to avoid ressources waste.

Valerie H. · 5일 전에 리뷰됨

--------------------------------------------------------------------------- ClientError Traceback (most recent call last) Cell In[30], line 14, in run_eval(val_df, model) 13 try: ---> 14 prediction = get_prediction(row["file_uri"], model) 15 except: Cell In[29], line 12, in get_prediction(query_image_uri, base_model) 2 """Gets the prediction for a given instance. 3 4 Args: (...) 10 A string containing the prediction. 11 """ ---> 12 response = client.models.generate_content( 13 model=base_model, 14 contents=[ 15 types.Part.from_uri(file_uri=str(query_image_uri), mime_type="image/jpeg"), 16 task_prompt, 17 ], 18 # Optional config 19 config={ 20 "temperature": 0.0, 21 }, 22 ) 24 return response.text.strip() File ~/.local/lib/python3.10/site-packages/google/genai/models.py:5864, in Models.generate_content(self, model, contents, config) 5863 i += 1 -> 5864 response = self._generate_content( 5865 model=model, contents=contents, config=parsed_config 5866 ) 5868 function_map = _extra_utils.get_function_map(parsed_config) File ~/.local/lib/python3.10/site-packages/google/genai/models.py:4526, in Models._generate_content(self, model, contents, config) 4524 request_dict = _common.encode_unserializable_types(request_dict) -> 4526 response = self._api_client.request( 4527 'post', path, request_dict, http_options 4528 ) 4530 if config is not None and getattr( 4531 config, 'should_return_http_response', None 4532 ): File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1402, in BaseApiClient.request(self, http_method, path, request_dict, http_options) 1399 http_request = self._build_request( 1400 http_method, path, request_dict, http_options 1401 ) -> 1402 response = self._request(http_request, http_options, stream=False) 1403 response_body = ( 1404 response.response_stream[0] if response.response_stream else '' 1405 ) File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1238, in BaseApiClient._request(self, http_request, http_options, stream) 1236 return retry(self._request_once, http_request, stream) # type: ignore[no-any-return] -> 1238 return self._retry(self._request_once, http_request, stream) File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:470, in Retrying.__call__(self, fn, *args, **kwargs) 469 while True: --> 470 do = self.iter(retry_state=retry_state) 471 if isinstance(do, DoAttempt): File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:371, in BaseRetrying.iter(self, retry_state) 370 for action in self.iter_state.actions: --> 371 result = action(retry_state) 372 return result File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:413, in BaseRetrying._post_stop_check_actions.<locals>.exc_check(rs) 412 if self.reraise: --> 413 raise retry_exc.reraise() 414 raise retry_exc from fut.exception() File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:184, in RetryError.reraise(self) 183 if self.last_attempt.failed: --> 184 raise self.last_attempt.result() 185 raise self File /opt/conda/lib/python3.10/concurrent/futures/_base.py:451, in Future.result(self, timeout) 450 elif self._state == FINISHED: --> 451 return self.__get_result() 453 self._condition.wait(timeout) File /opt/conda/lib/python3.10/concurrent/futures/_base.py:403, in Future.__get_result(self) 402 try: --> 403 raise self._exception 404 finally: 405 # Break a reference cycle with the exception in self._exception File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:473, in Retrying.__call__(self, fn, *args, **kwargs) 472 try: --> 473 result = fn(*args, **kwargs) 474 except BaseException: # noqa: B902 File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1215, in BaseApiClient._request_once(self, http_request, stream) 1208 response = self._httpx_client.request( 1209 method=http_request.method, 1210 url=http_request.url, (...) 1213 timeout=http_request.timeout, 1214 ) -> 1215 errors.APIError.raise_for_response(response) 1216 return HttpResponse( 1217 response.headers, response if stream else [response.text] 1218 ) File ~/.local/lib/python3.10/site-packages/google/genai/errors.py:134, in APIError.raise_for_response(cls, response) 132 response_json = response.body_segments[0].get('error', {}) --> 134 cls.raise_error(response.status_code, response_json, response) File ~/.local/lib/python3.10/site-packages/google/genai/errors.py:159, in APIError.raise_error(cls, status_code, response_json, response) 158 if 400 <= status_code < 500: --> 159 raise ClientError(status_code, response_json, response) 160 elif 500 <= status_code < 600: ClientError: 429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.', 'status': 'RESOURCE_EXHAUSTED'}} During handling of the above exception, another exception occurred: ClientError Traceback (most recent call last) File <timed exec>:1 Cell In[30], line 17, in run_eval(val_df, model) 15 except: 16 time.sleep(30) ---> 17 prediction = get_prediction(row["file_uri"], model) 18 predictions.append(prediction) 19 time.sleep(1) Cell In[29], line 12, in get_prediction(query_image_uri, base_model) 1 def get_prediction(query_image_uri, base_model): 2 """Gets the prediction for a given instance. 3 4 Args: (...) 10 A string containing the prediction. 11 """ ---> 12 response = client.models.generate_content( 13 model=base_model, 14 contents=[ 15 types.Part.from_uri(file_uri=str(query_image_uri), mime_type="image/jpeg"), 16 task_prompt, 17 ], 18 # Optional config 19 config={ 20 "temperature": 0.0, 21 }, 22 ) 24 return response.text.strip() File ~/.local/lib/python3.10/site-packages/google/genai/models.py:5864, in Models.generate_content(self, model, contents, config) 5862 while remaining_remote_calls_afc > 0: 5863 i += 1 -> 5864 response = self._generate_content( 5865 model=model, contents=contents, config=parsed_config 5866 ) 5868 function_map = _extra_utils.get_function_map(parsed_config) 5869 if not function_map: File ~/.local/lib/python3.10/site-packages/google/genai/models.py:4526, in Models._generate_content(self, model, contents, config) 4523 request_dict = _common.convert_to_dict(request_dict) 4524 request_dict = _common.encode_unserializable_types(request_dict) -> 4526 response = self._api_client.request( 4527 'post', path, request_dict, http_options 4528 ) 4530 if config is not None and getattr( 4531 config, 'should_return_http_response', None 4532 ): 4533 return_value = types.GenerateContentResponse(sdk_http_response=response) File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1402, in BaseApiClient.request(self, http_method, path, request_dict, http_options) 1392 def request( 1393 self, 1394 http_method: str, (...) 1397 http_options: Optional[HttpOptionsOrDict] = None, 1398 ) -> SdkHttpResponse: 1399 http_request = self._build_request( 1400 http_method, path, request_dict, http_options 1401 ) -> 1402 response = self._request(http_request, http_options, stream=False) 1403 response_body = ( 1404 response.response_stream[0] if response.response_stream else '' 1405 ) 1406 return SdkHttpResponse(headers=response.headers, body=response_body) File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1238, in BaseApiClient._request(self, http_request, http_options, stream) 1235 retry = tenacity.Retrying(**retry_kwargs) 1236 return retry(self._request_once, http_request, stream) # type: ignore[no-any-return] -> 1238 return self._retry(self._request_once, http_request, stream) File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:470, in Retrying.__call__(self, fn, *args, **kwargs) 468 retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs) 469 while True: --> 470 do = self.iter(retry_state=retry_state) 471 if isinstance(do, DoAttempt): 472 try: File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:371, in BaseRetrying.iter(self, retry_state) 369 result = None 370 for action in self.iter_state.actions: --> 371 result = action(retry_state) 372 return result File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:413, in BaseRetrying._post_stop_check_actions.<locals>.exc_check(rs) 411 retry_exc = self.retry_error_cls(fut) 412 if self.reraise: --> 413 raise retry_exc.reraise() 414 raise retry_exc from fut.exception() File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:184, in RetryError.reraise(self) 182 def reraise(self) -> t.NoReturn: 183 if self.last_attempt.failed: --> 184 raise self.last_attempt.result() 185 raise self File /opt/conda/lib/python3.10/concurrent/futures/_base.py:451, in Future.result(self, timeout) 449 raise CancelledError() 450 elif self._state == FINISHED: --> 451 return self.__get_result() 453 self._condition.wait(timeout) 455 if self._state in [CANCELLED, CANCELLED_AND_NOTIFIED]: File /opt/conda/lib/python3.10/concurrent/futures/_base.py:403, in Future.__get_result(self) 401 if self._exception: 402 try: --> 403 raise self._exception 404 finally: 405 # Break a reference cycle with the exception in self._exception 406 self = None File /opt/conda/lib/python3.10/site-packages/tenacity/__init__.py:473, in Retrying.__call__(self, fn, *args, **kwargs) 471 if isinstance(do, DoAttempt): 472 try: --> 473 result = fn(*args, **kwargs) 474 except BaseException: # noqa: B902 475 retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type] File ~/.local/lib/python3.10/site-packages/google/genai/_api_client.py:1215, in BaseApiClient._request_once(self, http_request, stream) 1207 else: 1208 response = self._httpx_client.request( 1209 method=http_request.method, 1210 url=http_request.url, (...) 1213 timeout=http_request.timeout, 1214 ) -> 1215 errors.APIError.raise_for_response(response) 1216 return HttpResponse( 1217 response.headers, response if stream else [response.text] 1218 ) File ~/.local/lib/python3.10/site-packages/google/genai/errors.py:134, in APIError.raise_for_response(cls, response) 131 else: 132 response_json = response.body_segments[0].get('error', {}) --> 134 cls.raise_error(response.status_code, response_json, response) File ~/.local/lib/python3.10/site-packages/google/genai/errors.py:159, in APIError.raise_error(cls, status_code, response_json, response) 145 """Raises an appropriate APIError subclass based on the status code. 146 147 Args: (...) 156 APIError: For other error status codes. 157 """ 158 if 400 <= status_code < 500: --> 159 raise ClientError(status_code, response_json, response) 160 elif 500 <= status_code < 600: 161 raise ServerError(status_code, response_json, response) ClientError: 429 RESOURCE_EXHAUSTED. {'error': {'code': 429, 'message': 'Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.', 'status': 'RESOURCE_EXHAUSTED'}}

Narek P. · 6일 전에 리뷰됨

very slow, worst performance. tuning itself taking more than an hour, How could i complete entire lab in 1hr30mins?

Charan Reddy A. · 7일 전에 리뷰됨

Muhammad Zunnurain H. · 8일 전에 리뷰됨

charul a. · 10일 전에 리뷰됨

Swapnil D. · 10일 전에 리뷰됨

Kenta S. · 11일 전에 리뷰됨

Is need it more time to completed all the lab

Samuel S. · 12일 전에 리뷰됨

Nomin K. · 12일 전에 리뷰됨

Mehmet S. · 15일 전에 리뷰됨

Cyril D. · 16일 전에 리뷰됨

buggy and broken

Chandos G. · 17일 전에 리뷰됨

Step 7 screwed up. Can't tell when it is going to complete due to built in error messages. Waste of a valuable hour of my time.

Bruce M. · 17일 전에 리뷰됨

abdulrahman a. · 17일 전에 리뷰됨

The tuning took so long and therefore I was unable to finish the lab

Mehmet S. · 20일 전에 리뷰됨

a cell ran for more than 1 hour and the lab ended.

Yomi S. · 20일 전에 리뷰됨

Vicky ramkrishna N. · 22일 전에 리뷰됨

Sravanthi Y. · 22일 전에 리뷰됨

Gennadiy K. · 22일 전에 리뷰됨

Mira M. · 25일 전에 리뷰됨

Mira M. · 25일 전에 리뷰됨

Mira M. · 25일 전에 리뷰됨

Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.