nssharmaofficial commited on
Commit
fa5cb64
1 Parent(s): bc7a830

Fix imports

Browse files
Files changed (1) hide show
  1. source/predict_sample.py +3 -4
source/predict_sample.py CHANGED
@@ -1,12 +1,11 @@
1
-
2
  from torchvision import transforms
3
  import torch
4
  import torch.utils.data
5
  from PIL import Image
6
 
7
- from vocab import Vocab
8
- from model import Decoder, Encoder
9
- from config import Config
10
 
11
 
12
  def generate_caption(image: torch.Tensor,
 
 
1
  from torchvision import transforms
2
  import torch
3
  import torch.utils.data
4
  from PIL import Image
5
 
6
+ from source.vocab import Vocab
7
+ from source.model import Decoder, Encoder
8
+ from source.config import Config
9
 
10
 
11
  def generate_caption(image: torch.Tensor,