Skip to content

Commit

Permalink
Fix missing import in BLIP captioning
Browse files Browse the repository at this point in the history
  • Loading branch information
paboum committed Dec 30, 2023
1 parent 89cfc46 commit e084bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finetune/make_captions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from torchvision import transforms
from torchvision.transforms.functional import InterpolationMode
sys.path.append(os.path.join(os.path.dirname(__file__), '..')) # sys.path.append(os.path.dirname(__file__))
from blip.blip import blip_decoder
from blip.blip import blip_decoder, is_url
import library.train_util as train_util

DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
Expand Down

0 comments on commit e084bc5

Please sign in to comment.