-
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
node core dumps with illegal instruction #2
Comments
Hi @rlmcclain, thanks for your interest. As suggest by ianni67 in #1, it is better to use nvm and change nodejs version
then check node version with
As soon as you give me feedback, I update the README with this hint. |
The comment referred by Fiblan has changed, now it is number #3: |
Thanks for the reply. I managed to run these command and get version 10.16.3 installed and do the npm rebuild:
then rebuild the tensorflow module for node.js:
Then I opened a new terminal session and did this:
Similar result - still core dumped. |
For some reason, nvm installed a newer version than 10.16.3.
So, please run |
Thanks for your continued assistance.
Back to where we started. |
I'm very sorry. Looks like your issue is not the same as mine, and I made you waste time. |
Please, try this:
|
Here we go.
Same result. I really appreciate your continued help. |
Sorry for commenting again, but it really looks like an issue with tensorflow-js (tfjs). It relies on some pre-compiled stuff that might have some compatibility issues with your pc. |
Here it is. I don't see 'avx':
|
I do have avx in flags. It looks like your cpu is missing avx extensions and the Tensorflow js runtime is compiled to use those extensions. |
Thanks for all the guidance and research. You learn something new everyday. I built my desktop in 2009 and it has been my 'work at everyday' desktop for 11 years with no issues. Although I've changed the Linux distro a few times. I'm not into gaming, so I had no need to upgrade. It has worked fine for all that I need to do. Guess I got my moneys worth. But I think it may be time to upgrade. Seems like a good quarantine project. Again, thanks for the help. You have both been very generous with your time and knowledge. Best Wishes, RichM |
Hello. I really like the idea of this project. Trying to follow your non-Docker instructions.
Here is the result of install.sh
rich@myarch:~/bin/webcam-virtual-background-master$ ./install.sh
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.18.2
Using cached numpy-1.18.2-cp38-cp38-manylinux1_x86_64.whl (20.6 MB)
Collecting opencv-python==4.2.0.32
Using cached opencv_python-4.2.0.32-cp38-cp38-manylinux1_x86_64.whl (28.2 MB)
Requirement already satisfied: requests==2.23.0 in /usr/lib/python3.8/site-packages (from -r fakecam/requirements.txt (line 3)) (2.23.0)
Collecting pyfakewebcam==0.1.0
Using cached pyfakewebcam-0.1.0.tar.gz (12 kB)
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.8/site-packages (from requests==2.23.0->-r fakecam/requirements.txt (line 3)) (3.0.4)
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.8/site-packages (from requests==2.23.0->-r fakecam/requirements.txt (line 3)) (2.9)
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.8/site-packages (from requests==2.23.0->-r fakecam/requirements.txt (line 3)) (1.25.9)
Installing collected packages: numpy, opencv-python, pyfakewebcam
Running setup.py install for pyfakewebcam ... done
Successfully installed numpy-1.18.2 opencv-python-4.2.0.32 pyfakewebcam-0.1.0
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
audited 167 packages in 1.536s
1 package is looking for funding
run
npm fund
for detailsfound 0 vulnerabilities
I created my v4l2loopback on /dev/video20 and modified fake.py line 24.
I get this error when attempting to run 'node app.js':
rich@myarch:
/bin/webcam-virtual-background-master/bodypix$ node --version/bin/webcam-virtual-background-master/bodypix$ node app.jsv14.1.0
rich@myarch:
Illegal instruction (core dumped)
I've never used node.js or Docker before. Any guidance on debugging this? Any commands I could issue to give you more information?
Regards,
RichM
The text was updated successfully, but these errors were encountered: