Add files using upload-large-folder tool
Browse files
VL-F/model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9914019048
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e296c31a37d22cd4b9d1c86eda13b70525fb60af640c407a5bdc082372de514
|
| 3 |
size 9914019048
|
VL-F/model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7620320504
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4dcf7701d7d594ba13a0ae2bdf1908c01d005ebd4eb9c5eb2842bacaf89a87c
|
| 3 |
size 7620320504
|
scripts/__pycache__/inference.cpython-311.pyc
CHANGED
|
Binary files a/scripts/__pycache__/inference.cpython-311.pyc and b/scripts/__pycache__/inference.cpython-311.pyc differ
|
|
|
scripts/inference.py
CHANGED
|
@@ -68,16 +68,9 @@ def _swap_vl(kwargs, needed_type, load_robobrain):
|
|
| 68 |
def _run_compatibility(question, image_path, kwargs, low_memory, run_robobrain, load_robobrain):
|
| 69 |
if low_memory:
|
| 70 |
_swap_vl(kwargs, "F", load_robobrain)
|
| 71 |
-
result_f = run_robobrain(question, image_path, None, kwargs["_current_vl"], LM_classify="compatibility")
|
| 72 |
-
if result_f != "yes":
|
| 73 |
-
return result_f
|
| 74 |
-
_swap_vl(kwargs, "B", load_robobrain)
|
| 75 |
return run_robobrain(question, image_path, None, kwargs["_current_vl"], LM_classify="compatibility")
|
| 76 |
else:
|
| 77 |
-
|
| 78 |
-
if result_f != "yes":
|
| 79 |
-
return result_f
|
| 80 |
-
return run_robobrain(question, image_path, None, kwargs["vl_b"], LM_classify="compatibility")
|
| 81 |
|
| 82 |
|
| 83 |
def inference_single(question, image_path, kwargs):
|
|
|
|
| 68 |
def _run_compatibility(question, image_path, kwargs, low_memory, run_robobrain, load_robobrain):
|
| 69 |
if low_memory:
|
| 70 |
_swap_vl(kwargs, "F", load_robobrain)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
return run_robobrain(question, image_path, None, kwargs["_current_vl"], LM_classify="compatibility")
|
| 72 |
else:
|
| 73 |
+
return run_robobrain(question, image_path, None, kwargs["vl_f"], LM_classify="compatibility")
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
def inference_single(question, image_path, kwargs):
|