-2

KeyError                                  Traceback (most recent call last)
Cell In[13], line 3
      1 clip_embeddings = []
      2 for sample in dataset:
----> 3     clip_embedding = embedding_dict[sample['video']][sample['frameid']]
      4     clip_embeddings.append(clip_embedding)

KeyError: 'L01_V001'

build fiftyone for video browser
toyota Supra
  • 3,181
  • 4
  • 15
  • 19
  • 1
    Welcome to Stack Overflow! Please take the [tour] and read [ask]. Your questions about code, i.e. debugging questions like these, are served by not only providing the error message, but also the code itself, a [mre]. We are not clairvoyant, so we cannot help you to debug code you do not show us. Also showing what you have already tried to solve the problem is appreciated. [edit] the question accordingly. – Adriaan Sep 01 '23 at 10:07
  • 1
    @toyotaSupra this post, for instance, should be closed, not edited. It's lacking about everything a debugging question could lack. Don't just shout "back ticks everywhere!" as a mantra on top of your lungs, but take moderation (all moderation! thus including flagging, commenting, voting etc.) seriously please. – Adriaan Sep 01 '23 at 10:08
  • Agreed. I was helping handicap to read format probably. Thank u for ur cooperation. – toyota Supra Sep 01 '23 at 10:35

0 Answers0