Commit 2c22e63d authored by zhengyaoqiu's avatar zhengyaoqiu

优化

parent 574de0ec
...@@ -43,7 +43,7 @@ class ImageUpload: ...@@ -43,7 +43,7 @@ class ImageUpload:
vector = self.feature_extractor.extract_from_url(image, part) vector = self.feature_extractor.extract_from_url(image, part)
# 如果 vector 是 None 则跳过 # 如果 vector 是 None 则跳过
if vector is None: if vector is None:
print(f"Warning: Failed to extract vector for image {image}, key {key}") # print(f"Warning: Failed to extract vector for image {image}, key {key}")
continue continue
images.append(image) images.append(image)
keys.append(key) keys.append(key)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment