From 2fefc59b71754a5faae7d982f6a9ac8dc2260a41 Mon Sep 17 00:00:00 2001 From: Bernadette Bucher <131724239+bernadettekb@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:05:41 -0500 Subject: [PATCH] BLIP-2 dependency resolution (#20) The transformers version in VLFM conflicts with the versions in the bdai requirements. I originally fixed them here, but due to some other dependency conflicts in the integration, this will break some VLFM functionality without some more substantial code changes which need to happen after moving the code. --------- Co-authored-by: Katrina Ashton --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3acc9bc..b81c518 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ dependencies = [ "flask >= 2.3.2", "seaborn >= 0.12.2", # required by yolov7 "open3d >= 0.17.0", - "transformers >= 4.28.1", # higher versions than 4.26.0 "break" BLIP-2 but need 4.28.1 for integration + "transformers == 4.26.0", # higher versions than 4.26.0 "break" BLIP-2 in LAVIS "salesforce-lavis >= 1.0.2", # for BLIP-2 "frontier_exploration @ git+https://github.com/naokiyokoyama/frontier_exploration.git", "mobile_sam @ git+https://github.com/ChaoningZhang/MobileSAM.git",