google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.75k stars 5.18k forks source link

face_mesh dll error #5642

Open xcjcb001 opened 2 months ago

xcjcb001 commented 2 months ago

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)

None

OS Platform and Distribution

windows 10

MediaPipe Tasks SDK version

0.10.9

Task name (e.g. Image classification, Gesture recognition etc.)

face_mesh dll

Programming Language and version (e.g. C++, Python, Java)

c++

Describe the actual behavior

debugger

Describe the expected behaviour

can not read the config

Standalone code/steps you may have used to try to get what you need

std::string calculator_graph_config_contents;
MP_RETURN_IF_ERROR(mediapipe::file::GetContents(model_path, &calculator_graph_config_contents));
std::cout << "mediapipe::file::GetContents success" << std::endl;

mediapipe::CalculatorGraphConfig config =
    mediapipe::ParseTextProtoOrDie<mediapipe::CalculatorGraphConfig>(
        calculator_graph_config_contents); 
MP_RETURN_IF_ERROR(m_Graph.Initialize(config))) :

Other info / Complete Logs

MP_RETURN_IF_ERROR(m_Graph.Initialize(config))) :   Exception raised: Read access conflict.   the mediapipe::CalculatorGraphConfig config is null.    but std::string calculator_graph_config_contentsnot null. I don't know what the problem is and how to proceed anymore
xcjcb001 commented 2 months ago

absl::lts_20230125::container_internal::raw_hash_set<absl::lts_20230125::container_internal::FlatHashMapPolicy<std::basic_string<char,std::char_traits,std::allocator >,mediapipe::tool::FieldDescriptor>,absl::lts_20230125::container_internal::StringHash,absl::lts_20230125::container_internal::StringEq,std::allocator<std::pair<std::basic_string<char,std::char_traits,std::allocator > const ,mediapipe::tool::FieldDescriptor> > >::common(...) retrun 0x28。

kuaashish commented 1 week ago

Hi @xcjcb001,

Could you please confirm if you still need assistance with this issue, or has it been resolved on your end?

Thank you!!

github-actions[bot] commented 5 hours ago

This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.