weirme / FCSN

A PyTorch reimplementation of FCSN in paper "Video Summarization Using Fully Convolutional Sequence Networks"
116 stars 33 forks source link

fix bug & add making directory #4

Closed SinDongHwan closed 5 years ago

SinDongHwan commented 5 years ago
  1. Fix bug when dataset loads, there is problem. video = self.data_file['video_'+str(index.item())]

index variable is int datatype, but this code tries to get a value using item(). so i edit following video = self.data_file['video_'+str(index)]

  1. Add making directory i faced error, because directories(save directory, score directory) don't exist. So i tried to add making directory, if not exist.
weirme commented 5 years ago
  1. Fix bug when dataset loads, there is problem. video = self.data_file['video_'+str(index.item())]

index variable is int datatype, but this code tries to get a value using item(). so i edit following video = self.data_file['video_'+str(index)]

  1. Add making directory i faced error, because directories(save directory, score directory) don't exist. So i tried to add making directory, if not exist.

Thank you so much!