Skip to content

Commit

Permalink
Merge pull request bmaltais#581 from mio2333/patch-1
Browse files Browse the repository at this point in the history
Update make_captions.py
  • Loading branch information
kohya-ss authored Jun 12, 2023
2 parents 6417f5d + 334d07b commit 89c3033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions finetune/make_captions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os
import json
import random
import sys

from pathlib import Path
from PIL import Image
Expand All @@ -11,6 +12,7 @@
import torch
from torchvision import transforms
from torchvision.transforms.functional import InterpolationMode
sys.path.append(os.path.dirname(__file__))
from blip.blip import blip_decoder
import library.train_util as train_util

Expand Down

0 comments on commit 89c3033

Please sign in to comment.