Inspecione documentos avançados usando a multimodalidade do Gemini e o RAG multimodal: laboratório com desafio avaliações
38518 avaliações
DEVASISH V. · Revisado há over 1 year
nice
KIRITEN S. · Revisado há over 1 year
Aditya . · Revisado há over 1 year
22B01A4261 A. · Revisado há over 1 year
Aditya V. · Revisado há over 1 year
This lab is having so many issues
Chaithhanya Sai K. · Revisado há over 1 year
Sai Nomitha Y. · Revisado há over 1 year
Dip G. · Revisado há over 1 year
good
Rounak _. · Revisado há over 1 year
ANSHUL R. · Revisado há over 1 year
2165_Rishika P. · Revisado há over 1 year
ggjfykujgb
Karthi T. · Revisado há over 1 year
Dip G. · Revisado há over 1 year
Harsh G. · Revisado há over 1 year
Felipe S. · Revisado há over 1 year
Divam S. · Revisado há over 1 year
Jasnoor K. · Revisado há over 1 year
Alejo C. · Revisado há over 1 year
1155_Abhinav S. · Revisado há over 1 year
Lakshmisha R. · Revisado há over 1 year
Task 1.2 has some sort of bug. I cannot get passed it and am getting the following error --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[157], line 8 1 # "COMPLETE THE MISSING PART AND RUN THIS CELL" 2 3 # In the last part of this task, you're going to print your contents and responses with the prompt and responses title provided. Use descriptive titles to help organize the output (e.g., "Prompts", "Model Responses") and then display the prompt and responses by using the print() function. 4 5 # Hint: "\n" inserts a newline character for clearer separation between the sections. 7 print("-------Prompt--------") ----> 8 print_multimodal_prompt(contents) 10 print("\n-------Response--------") 11 for response in responses: Cell In[5], line 64, in print_multimodal_prompt(contents) 59 """ 60 Given contents that would be sent to Gemini, 61 output the full multimodal prompt for ease of readability. 62 """ 63 for content in contents: ---> 64 if display_content_as_image(content): 65 continue 66 if display_content_as_video(content): Cell In[5], line 44, in display_content_as_image(content) 42 if not isinstance(content, Image): 43 return False ---> 44 display_images([content]) 45 return True File ~/training-data-analyst/self-paced-labs/gemini/utils/intro_multimodal_rag_utils.py:905, in display_images(images, resize_ratio) 903 # Resize and display each image 904 for img in pil_images: --> 905 original_width, original_height = img.size 906 new_width = int(original_width * resize_ratio) 907 new_height = int(original_height * resize_ratio) AttributeError: 'Image' object has no attribute 'size'
Emmanuel I. · Revisado há over 1 year
yes
Saloni S. · Revisado há over 1 year
Sukhpreet S. · Revisado há over 1 year
Akshay M. · Revisado há over 1 year
Vinayak M. · Revisado há over 1 year
Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.