Rich-Dokumente mit Gemini Multimodal und Multimodal RAG untersuchen: Challenge-Lab Rezensionen
38517 Rezensionen
nice
KIRITEN S. · Vor mehr als ein Jahr überprüft
Aditya . · Vor mehr als ein Jahr überprüft
22B01A4261 A. · Vor mehr als ein Jahr überprüft
Aditya V. · Vor mehr als ein Jahr überprüft
This lab is having so many issues
Chaithhanya Sai K. · Vor mehr als ein Jahr überprüft
Sai Nomitha Y. · Vor mehr als ein Jahr überprüft
Dip G. · Vor mehr als ein Jahr überprüft
good
Rounak _. · Vor mehr als ein Jahr überprüft
ANSHUL R. · Vor mehr als ein Jahr überprüft
2165_Rishika P. · Vor mehr als ein Jahr überprüft
ggjfykujgb
Karthi T. · Vor mehr als ein Jahr überprüft
Dip G. · Vor mehr als ein Jahr überprüft
Harsh G. · Vor mehr als ein Jahr überprüft
Felipe S. · Vor mehr als ein Jahr überprüft
Divam S. · Vor mehr als ein Jahr überprüft
Jasnoor K. · Vor mehr als ein Jahr überprüft
Alejo C. · Vor mehr als ein Jahr überprüft
1155_Abhinav S. · Vor mehr als ein Jahr überprüft
Lakshmisha R. · Vor mehr als ein Jahr überprüft
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. · Vor mehr als ein Jahr überprüft
yes
Saloni S. · Vor mehr als ein Jahr überprüft
Sukhpreet S. · Vor mehr als ein Jahr überprüft
Akshay M. · Vor mehr als ein Jahr überprüft
Vinayak M. · Vor mehr als ein Jahr überprüft
2321_ Shivansh G. · Vor mehr als ein Jahr überprüft
Wir können nicht garantieren, dass die veröffentlichten Rezensionen von Verbrauchern stammen, die die Produkte gekauft oder genutzt haben. Die Rezensionen werden von Google nicht überprüft.