Skip to content

Commit

Permalink
Merge pull request #1821 from paboum/master
Browse files Browse the repository at this point in the history
Fix missing import in BLIP captioning
  • Loading branch information
bmaltais authored Jan 3, 2024
2 parents a2c18df + e084bc5 commit a2eed05
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 a2eed05

Please sign in to comment.