mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-07-07 22:04:53 +08:00
Pin duckdb<=0.9.2
to avoid 0.10.0 errors (#8181)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
78f7e475fa
commit
79e0d59eeb
@ -104,12 +104,11 @@ export = [
|
|||||||
]
|
]
|
||||||
explorer = [
|
explorer = [
|
||||||
"lancedb", # vector search
|
"lancedb", # vector search
|
||||||
"duckdb", # SQL queries, supports lancedb tables
|
"duckdb<=0.9.2", # SQL queries, duckdb==0.10.0 bug https://github.com/ultralytics/ultralytics/pull/8181
|
||||||
"streamlit", # visualizing with GUI
|
"streamlit", # visualizing with GUI
|
||||||
]
|
]
|
||||||
# tensorflow>=2.4.1,<=2.13.1 # TF exports (-cpu, -aarch64, -macos)
|
# tensorflow>=2.4.1,<=2.13.1 # TF exports (-cpu, -aarch64, -macos)
|
||||||
# tflite-support # for TFLite model metadata
|
# tflite-support # for TFLite model metadata
|
||||||
# scikit-learn==0.19.2 # CoreML quantization
|
|
||||||
# nvidia-pyindex # TensorRT export
|
# nvidia-pyindex # TensorRT export
|
||||||
# nvidia-tensorrt # TensorRT export
|
# nvidia-tensorrt # TensorRT export
|
||||||
logging = [
|
logging = [
|
||||||
|
@ -59,7 +59,8 @@ class Explorer:
|
|||||||
model: str = "yolov8n.pt",
|
model: str = "yolov8n.pt",
|
||||||
uri: str = USER_CONFIG_DIR / "explorer",
|
uri: str = USER_CONFIG_DIR / "explorer",
|
||||||
) -> None:
|
) -> None:
|
||||||
checks.check_requirements(["lancedb>=0.4.3", "duckdb"])
|
# Note duckdb==0.10.0 bug https://github.com/ultralytics/ultralytics/pull/8181
|
||||||
|
checks.check_requirements(["lancedb>=0.4.3", "duckdb<=0.9.2"])
|
||||||
import lancedb
|
import lancedb
|
||||||
|
|
||||||
self.connection = lancedb.connect(uri)
|
self.connection = lancedb.connect(uri)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user