ShiqiYu / OpenGait

A flexible and extensible framework for gait recognition. You can focus on designing your own models and comparing with state-of-the-arts easily with the help of OpenGait.
664 stars 154 forks source link

KeyError: 'embeddings' #182

Closed ani0135 closed 4 months ago

ani0135 commented 5 months ago

System information (version)

Detailed description

OpenGait/opengait/evaluation/evaluator.py", line 134, in evaluate_indoor_dataset feature, label, seq_type, view = data['embeddings'], data['labels'], data['types'], data['views'] KeyError: 'embeddings'

above error encountered when following cmd run in terminal CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.run --nproc_per_node=1 opengait/main.py --cfgs ./configs/gaitgl/gaitgl_OUMVLP.yaml --phase test

Steps to reproduce

Issue submission checklist

aTaoao commented 4 months ago

Has the problem been solved

ani0135 commented 4 months ago

yes


From: aTaoao @.> Sent: Thursday, February 22, 2024 4:39:09 PM To: ShiqiYu/OpenGait @.> Cc: Aniket Kumar @.>; Author @.> Subject: Re: [ShiqiYu/OpenGait] KeyError: 'embeddings' (Issue #182)

Has the problem been solved

— Reply to this email directly, view it on GitHubhttps://github.com/ShiqiYu/OpenGait/issues/182#issuecomment-1959217680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDUX2IWZVEDHUCH7BGVH4ADYU4RNLAVCNFSM6AAAAABBQMVCEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGIYTONRYGA. You are receiving this because you authored the thread.Message ID: @.***>

aTaoao commented 4 months ago

yes ____ From: aTaoao @.> Sent: Thursday, February 22, 2024 4:39:09 PM To: ShiqiYu/OpenGait @.> Cc: Aniket Kumar @.>; Author @.> Subject: Re: [ShiqiYu/OpenGait] KeyError: 'embeddings' (Issue #182) Has the problem been solved — Reply to this email directly, view it on GitHub<#182 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDUX2IWZVEDHUCH7BGVH4ADYU4RNLAVCNFSM6AAAAABBQMVCEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGIYTONRYGA. You are receiving this because you authored the thread.Message ID: @.***>

How to solve this problem?

aTaoao commented 4 months ago

  Hi, Aniket Kumar!   I hope you're doing well. I'm facing a challenge with“OpenGait/opengait/evaluation/evaluator.py", line 134, in evaluate_indoor_dataset feature, label, seq_type, view = data['embeddings'], data['labels'], data['types'], data['views'] KeyError: 'embeddings'”. Could you please share your insights or suggestions on how to tackle this?    Thanks in advance!

吕大大 @.***

 

------------------ 原始邮件 ------------------ 发件人: "ShiqiYu/OpenGait" @.>; 发送时间: 2024年2月22日(星期四) 晚上7:34 @.>; @.**@.>; 主题: Re: [ShiqiYu/OpenGait] KeyError: 'embeddings' (Issue #182)

yes


From: aTaoao @.> Sent: Thursday, February 22, 2024 4:39:09 PM To: ShiqiYu/OpenGait @.> Cc: Aniket Kumar @.>; Author @.> Subject: Re: [ShiqiYu/OpenGait] KeyError: 'embeddings' (Issue #182)

Has the problem been solved

— Reply to this email directly, view it on GitHub<https://github.com/ShiqiYu/OpenGait/issues/182#issuecomment-1959217680&gt;, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BDUX2IWZVEDHUCH7BGVH4ADYU4RNLAVCNFSM6AAAAABBQMVCEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGIYTONRYGA&gt;. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

aTaoao commented 4 months ago

Could you please share your insights or suggestions on how to tackle this? Thanks in advance!

ani0135 commented 4 months ago

I inserted incorrect path for the dataset. Once I corrected it, issue was resolved.