Update my_model/captioner/image_captioning.py
Browse files
my_model/captioner/image_captioning.py
CHANGED
@@ -6,7 +6,7 @@ from PIL import Image
|
|
6 |
from transformers import InstructBlipProcessor, InstructBlipForConditionalGeneration
|
7 |
import bitsandbytes
|
8 |
import accelerate
|
9 |
-
from my_model.
|
10 |
from my_model.gen_utilities import free_gpu_resources
|
11 |
|
12 |
|
|
|
6 |
from transformers import InstructBlipProcessor, InstructBlipForConditionalGeneration
|
7 |
import bitsandbytes
|
8 |
import accelerate
|
9 |
+
from my_model.config import captioning_config as config
|
10 |
from my_model.gen_utilities import free_gpu_resources
|
11 |
|
12 |
|