e-apostolidis / AC-SUM-GAN

A PyTorch Implementation of AC-SUM-GAN from "AC-SUM-GAN: Connecting Actor-Critic and Generative Adversarial Networks for Unsupervised Video Summarization" (IEEE TCSVT 2021)
Other
28 stars 10 forks source link

Unable to create directory for json file during training process #2

Closed iamgmujtaba closed 4 years ago

iamgmujtaba commented 4 years ago

Hi there,

I think you need to update your code. In the following line the path is created.

https://github.com/e-apostolidis/AC-SUM-GAN/blob/bbeb2ef6253de6a34f4bc489a4c5a38f926654fe/model/solver.py#L483

if not os.path.exists(self.config.score_dir): os.makedirs(self.config.score_dir)

I have added these lines of code to create a directory.