mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-04 01:50:47 +00:00
Update blip_processors.py
This commit is contained in:
parent
23671f9861
commit
68d81af31c
@ -75,9 +75,8 @@ class Blip2ImageTrainProcessor(BlipImageBaseProcessor):
|
||||
|
||||
self.transform = transforms.Compose(
|
||||
[
|
||||
transforms.RandomResizedCrop(
|
||||
image_size,
|
||||
scale=(min_scale, max_scale),
|
||||
transforms.Resize(
|
||||
(image_size,image_size),
|
||||
interpolation=InterpolationMode.BICUBIC,
|
||||
),
|
||||
transforms.ToTensor(),
|
||||
|
Loading…
Reference in New Issue
Block a user