syncnet_python icon indicating copy to clipboard operation
syncnet_python copied to clipboard

Where is "activesd.pckl"?

Open jlian2 opened this issue 4 years ago • 3 comments

jlian2 avatar Jul 29 '20 07:07 jlian2

The same question!!!

fjesikfjdskl avatar Nov 27 '23 07:11 fjesikfjdskl

+1

tailangjun avatar Dec 06 '23 13:12 tailangjun

Hi, Firstly, I think you should check the dir, the default value of the destination dir given as 'data/work' may not right in your dir structure. Secondly ,you should ensure the prarent dir is created in advance. Doing like this:

   os.makedirs(save_dir, exist_ok=True)
   save_file = os.path.join(opt.work_dir,opt.reference,'activesd.pckl')
   with open(save_file, 'wb') as fil:
      pickle.dump(dists, fil)

By doing so, it may help you to solve this problem.

lililuya avatar Dec 27 '23 13:12 lililuya