Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating GIF error (no such file in directory #145

Open
deepak199010 opened this issue Aug 1, 2024 · 0 comments
Open

creating GIF error (no such file in directory #145

deepak199010 opened this issue Aug 1, 2024 · 0 comments

Comments

@deepak199010
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant