You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
具体报错如下: ValidationError: 16 validation errors for PydanticDocument parent_id Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing granularity Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing blob Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing tensor Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing mime_type Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing text Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing weight Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing uri Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing offset Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing location Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing embedding Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing modality Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing evaluations Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing scores Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing chunks Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing matches Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing Traceback: File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script exec(code, module.__dict__) File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 93, in <module> result = search_clip(uid, video_file_path, text_prompt, topn_value) File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 79, in search_clip data = [{"text": doc.text,"matches": doc.matches.to_dict()} for doc in resp] # 得到每个文本对应的相似视频片段起始位置列表 File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 79, in <listcomp> data = [{"text": doc.text,"matches": doc.matches.to_dict()} for doc in resp] # 得到每个文本对应的相似视频片段起始位置列表 File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/array/mixins/io/json.py", line 87, in to_list return [d.to_dict(protocol=protocol, **kwargs) for d in self] File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/array/mixins/io/json.py", line 87, in <listcomp> return [d.to_dict(protocol=protocol, **kwargs) for d in self] File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/mixins/porting.py", line 74, in to_dict return self.to_pydantic_model().dict(**kwargs) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/mixins/pydantic.py", line 40, in to_pydantic_model return DP(**_p_dict) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/pydantic_model.py", line 63, in __init__ super().__init__(**data) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/pydantic/main.py", line 176, in __init__ self.__pydantic_validator__.validate_python(data, self_instance=self)
The text was updated successfully, but these errors were encountered:
感谢你们的出色工作,当我上传一个视频进行search时,出现了bug,不清楚是什么原因
Ubuntu操作系统,通过源代码安装
具体报错如下:
ValidationError: 16 validation errors for PydanticDocument parent_id Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing granularity Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing blob Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing tensor Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing mime_type Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing text Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing weight Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing uri Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing offset Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing location Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing embedding Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing modality Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing evaluations Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing scores Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing chunks Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing matches Field required [type=missing, input_value={'id': 'c3df2f0a31c4240cd...3, 'rightIndex': 209.0}}, input_type=dict] For further information visit https://errors.pydantic.dev/2.7/v/missing Traceback: File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 556, in _run_script exec(code, module.__dict__) File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 93, in <module> result = search_clip(uid, video_file_path, text_prompt, topn_value) File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 79, in search_clip data = [{"text": doc.text,"matches": doc.matches.to_dict()} for doc in resp] # 得到每个文本对应的相似视频片段起始位置列表 File "/home/lan/code/yuyin/VCED/vced/code/web/app.py", line 79, in <listcomp> data = [{"text": doc.text,"matches": doc.matches.to_dict()} for doc in resp] # 得到每个文本对应的相似视频片段起始位置列表 File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/array/mixins/io/json.py", line 87, in to_list return [d.to_dict(protocol=protocol, **kwargs) for d in self] File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/array/mixins/io/json.py", line 87, in <listcomp> return [d.to_dict(protocol=protocol, **kwargs) for d in self] File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/mixins/porting.py", line 74, in to_dict return self.to_pydantic_model().dict(**kwargs) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/mixins/pydantic.py", line 40, in to_pydantic_model return DP(**_p_dict) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/docarray/document/pydantic_model.py", line 63, in __init__ super().__init__(**data) File "/home/lan/anaconda3/envs/vced/lib/python3.9/site-packages/pydantic/main.py", line 176, in __init__ self.__pydantic_validator__.validate_python(data, self_instance=self)
The text was updated successfully, but these errors were encountered: