Skip to content

creating GIF error (no such file in directory #145

@deepak199010

Description

@deepak199010

FileNotFoundError Traceback (most recent call last)
in <cell line: 2>()
1 ## Create VAME GIF
----> 2 vame.gif(config, pose_ref_index=[0,7], subtract_background=True, start=0, length=500, max_lag=30, label='community', file_format='.mp4', crop_size=(300,300))

/content/drive/My Drive/PDH-BR-180524-DEEPAK-2024-07-12/PDH-BR-180524-DEEPAK-2024-07-12-DK-BR-2024-07-12/VAME/vame/analysis/gif_creator.py in gif(config, pose_ref_index, subtract_background, start, length, max_lag, label, file_format, crop_size)
86 path_to_file=os.path.join(cfg['project_path'],"results",file,model_name,'kmeans-'+str(n_cluster),"")
87 if not os.path.exists(os.path.join(path_to_file,"gif_frames")):
---> 88 os.mkdir(os.path.join(path_to_file,"gif_frames"))
89
90 embed = np.load(os.path.join(path_to_file,"community","umap_embedding_"+file+'.npy'))

FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/My Drive/PDH-BR-180524-DEEPAK-2024-07-12/PDH-BR-180524-DEEPAK-2024-07-12-DK-BR-2024-07-12/VAME/VAME-Jul30-2024/results/PDH-BR-180524/VAME/kmeans-15/gif_frames'

hi, having some issues with vame gif images being produced. keeps saying cant find directory. can someone please help with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions