TensorFlowUnity-ObjectDetection icon indicating copy to clipboard operation
TensorFlowUnity-ObjectDetection copied to clipboard

Runtime TypeLoadException

Open jahnavim-prog opened this issue 6 years ago • 5 comments

Hi please do help me when I am trying to run this project in unity I can see camera play but not able to detect the objects. I am receiving the following exception TypeLoadException: Could not find method due to a type load error UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

jahnavim-prog avatar Aug 30 '19 09:08 jahnavim-prog

HI i fixed it cuz i ignore this error and output the android edition in unity ,if U want to output in PC,U should delete the code the unity,anriod between the end if and if

tomret avatar Jan 08 '20 01:01 tomret

Thank You so much this resolved my issue. I can run in PC

Can you please help me with custom model integration I am trying to integrate Custom object detection model into Unity i am experiencing following error

TFException: Invalid GraphDef TensorFlow.TFStatus.CheckMaybeRaise (TensorFlow.TFStatus incomingStatus, System.Boolean last) (at <6ed6db22f8874deba74ffe3e566039be>:0) TensorFlow.TFGraph.Import (TensorFlow.TFBuffer graphDef, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0) TensorFlow.TFGraph.Import (System.Byte[] buffer, TensorFlow.TFImportGraphDefOptions options, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0) TensorFlow.TFGraph.Import (System.Byte[] buffer, System.String prefix, TensorFlow.TFStatus status) (at <6ed6db22f8874deba74ffe3e566039be>:0) ObjectDetection+<Start>d__28.MoveNext () (at Assets/Scripts/ObjectDetection.cs:66) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

I have trained my model on tensorflow 1.14 version and freezed using freezeGraph-WORKING and generated .bytes file even then there is no use

Please help me out.

jahnavim-prog avatar Jan 08 '20 09:01 jahnavim-prog

Do U try replacing the libtensorflow.dll、 .so、.bundle to tensorflow v1.14.0 cuz the edition of this project of libtensorflow.dll、 .so、.bundle is v1.4.0?such as using bazel to transform ?

tomret avatar Mar 12 '20 07:03 tomret

hi, I tried running the program in the editor but unity is not accessing the webcam instead I am getting an orange screen. is there any setting I am missing?

akileswaran avatar May 03 '20 21:05 akileswaran

guys is vuforia image targets working along with image classification if not do you have any idea how to get it to work?

akileswaran avatar May 05 '20 23:05 akileswaran