-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error during the build step #5
Comments
I haven't provided armv7a wheels due to this issue which I reported 3 weeks ago: google/ruy#347 Your best bet is to clone tensorflow and try to build it for armv7a and when it fails raise an issue with the tensorflow project. Or try to fix it in Ruy yourself ;) |
I don't have an ARMv7 processor... I have an Intel i3 octacore... 64 bit... Why I enter into the ARMv7 path? |
Please paste the commands you are using to build it |
I tried both with scripts/build.sh and scripts/build_deb.sh. I'm on Linux Mint 21 |
Can you paste the command you are using? If you are using just scripts/builds.sh then you will be building all python versions for all archs, including arm7a |
I'm using "scripts/build.sh"... this is the command... what shall I use? |
What arch / python version are you after?
…On Wed, 8 Nov 2023, 17:28 StefanoGiu, ***@***.***> wrote:
I'm using "scripts/build.sh"... this is the command... what shall I use?
—
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKFR7TFSIPNDCRAZ2QJQK3YDOXMPAVCNFSM6AAAAAA7CJ6PEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGI2DEOBZHA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I'm on Python 3.10.12 and x86_64 arch. |
Why don't you use the wheels already provided in the releases?
You can build it yourself with:
Note in scripts/build.sh that 310 is built using ubuntu:22.04. If you get an error message when installing the wheels due to libc you could try changing ubuntu:22.04 to use a docker image for your linux mint release. |
Sorry, where can I get those whl files? |
Look in the main page on the right there is a link called releases. It points to https://github.com/oberluz/pycoral/releases |
Thanks a lot!! I installed it, but now when I run: root@ServerNVR:/home/stefano/coral/coral/pycoral# python3 examples/classify_image.py I get the following error: During handling of the above exception, another exception occurred: Traceback (most recent call last): Can you help here? |
Paste the relevant code... |
I'm following this link: |
I'm trying to run: |
Did you plugin in your coral stick into the USB port? I ran it without the coral and I got the same error:
I plugged it in and it works:
|
Yes, it's plugged in, but used by Frigate in a container. Maybe Frigate is locking the USB Coral somehow? |
Any idea? The issue seems to be intermittent and sometimes I get a segmentation fault... with a core dump! |
I tried to stop Frigate, but the issue is still there... |
I can't give you any advice re Frigate.
Try it outside is all I can suggest
…On Sat, 11 Nov 2023, 12:10 StefanoGiu, ***@***.***> wrote:
I tried to stop Frigate, but the issue is still there...
—
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKFR7RJPTBJ66FEJJXXBZLYD5MI7AVCNFSM6AAAAAA7CJ6PEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWG44DMMZZGI>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I tried outside Frigate container... it's the same... |
ERROR: /root/.cache/bazel/bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/ruy/ruy/BUILD:576:11: Compiling ruy/pack_arm.cc failed: (Exit 1): arm-linux-gnueabihf-gcc failed: error executing command
(cd /root/.cache/bazel/bazel_root/eab0d61a99b6696edb3d2aff87b585e8/sandbox/processwrapper-sandbox/1348/execroot/pycoral &&
exec env -
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
/usr/bin/arm-linux-gnueabihf-gcc -fPIC -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-march=armv7-a' '-mfpu=neon-vfpv4' -g0 -O3 -DNDEBUG '-D_FORTIFY_SOURCE=2' -ffunction-sections -fdata-sections -funsafe-math-optimizations -ftree-vectorize '-std=c++14' -MD -MF bazel-out/armv7a-opt/bin/external/ruy/ruy/objs/pack_arm/pack_arm.d '-frandom-seed=bazel-out/armv7a-opt/bin/external/ruy/ruy/objs/pack_arm/pack_arm.o' -iquote external/ruy -iquote bazel-out/armv7a-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/armv7a-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/armv7a-opt/bin/external/clog -Ibazel-out/armv7a-opt/bin/external/cpuinfo/virtual_includes/cpuinfo -Ibazel-out/armv7a-opt/bin/external/clog/virtual_includes/clog '-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION' '-ffp-contract=off' -Wall -Wextra -Wc++14-compat -Wundef '-mfpu=neon' -O3 -no-canonical-prefixes -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME="redacted"' -c external/ruy/ruy/pack_arm.cc -o bazel-out/armv7a-opt/bin/external/ruy/ruy/_objs/pack_arm/pack_arm.o)
Execution platform: @local_execution_config_platform//:platform
Use --sandbox_debug to see verbose messages from the sandbox arm-linux-gnueabihf-gcc failed: error executing command
(cd /root/.cache/bazel/bazel_root/eab0d61a99b6696edb3d2aff87b585e8/sandbox/processwrapper-sandbox/1348/execroot/pycoral &&
exec env -
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
/usr/bin/arm-linux-gnueabihf-gcc -fPIC -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-march=armv7-a' '-mfpu=neon-vfpv4' -g0 -O3 -DNDEBUG '-D_FORTIFY_SOURCE=2' -ffunction-sections -fdata-sections -funsafe-math-optimizations -ftree-vectorize '-std=c++14' -MD -MF bazel-out/armv7a-opt/bin/external/ruy/ruy/objs/pack_arm/pack_arm.d '-frandom-seed=bazel-out/armv7a-opt/bin/external/ruy/ruy/objs/pack_arm/pack_arm.o' -iquote external/ruy -iquote bazel-out/armv7a-opt/bin/external/ruy -iquote external/cpuinfo -iquote bazel-out/armv7a-opt/bin/external/cpuinfo -iquote external/clog -iquote bazel-out/armv7a-opt/bin/external/clog -Ibazel-out/armv7a-opt/bin/external/cpuinfo/virtual_includes/cpuinfo -Ibazel-out/armv7a-opt/bin/external/clog/virtual_includes/clog '-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION' '-ffp-contract=off' -Wall -Wextra -Wc++14-compat -Wundef '-mfpu=neon' -O3 -no-canonical-prefixes -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME_="redacted"' -c external/ruy/ruy/pack_arm.cc -o bazel-out/armv7a-opt/bin/external/ruy/ruy/_objs/pack_arm/pack_arm.o)
Execution platform: @local_execution_config_platform//:platform
Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/ruy/ruy/pack_arm.cc:16:
external/ruy/ruy/pack_arm.h:492:9: warning: multi-line comment [-Wcomment]
492 | #endif // (RUY_PLATFORM_NEON_64 || RUY_PLATFORM_NEON_32) && \
The text was updated successfully, but these errors were encountered: