ios_camera_object_detection icon indicating copy to clipboard operation
ios_camera_object_detection copied to clipboard

<user_path>third_party/eigen3/unsupported/Eigen/CXX11/Tensor:4:10: 'unsupported/Eigen/CXX11/Tensor' file not found

Open Heng14 opened this issue 8 years ago • 8 comments
trafficstars

@yjmade hi, i have an error that the line in Tensor file #include "unsupported/Eigen/CXX11/Tensor" cause an error: 'unsupported/Eigen/CXX11/Tensor' file not found. but it didn't have such error when i run the simple in official ios_examples. could you please help me?

Heng14 avatar May 18 '17 07:05 Heng14

这个问题是路径不对

StarRain-L avatar Jun 02 '17 09:06 StarRain-L

In header search paths replace "$(SRCROOT)/../../makefile/downloads/eigen-latest" with "$(SRCROOT)/../../makefile/downloads/eigen"

brianantonelli avatar Jun 26 '17 14:06 brianantonelli

@brianantonelli @StarRain-L thank you very much and that works!

Heng14 avatar Jun 28 '17 05:06 Heng14

@yjmade @brianantonelli I have applied it on iPhone 7 successfully but it cannot detect any objects. It have not any response but just open the camera. I have no idea where the problem is. Could you please help me ? thank you

Heng14 avatar Jun 28 '17 12:06 Heng14

any log from the console?

yjmade avatar Jun 28 '17 13:06 yjmade

@yjmade no, just like a camera and no detection or response.

Heng14 avatar Jun 28 '17 13:06 Heng14

I've had similar results on iPhone 7 on iOS 10. I cannot run it with the debugger attached as it constantly crashes.. Ive had a few times when Ive run the app and it crashed over and over and then suddenly it worked correctly and did image detection. I tried running optimize_for_inference on the graph to see if that would help but it did not, I think recompiling Tensorflow for production might resolve some of these issues.

Here is proof tho that it does occasionally work: image_uploaded_from_ios

brianantonelli avatar Jun 28 '17 20:06 brianantonelli

@brianantonelli yeah, I have the same problem. It always crashes out or no response. I have no idea what to do.

Heng14 avatar Jun 29 '17 05:06 Heng14