Skip to content

Troubleshooting

Volas171 edited this page Dec 14, 2022 · 3 revisions

Illegal instruction

WARNING!!!!!!!! AVX instruction set not detected

yeah, you use x86 machine without AVX instruction set, did you use hosting platform ? better get refund.

Blocked Host 403

{"error":"Host is blocked","status":403}

Of course, you either forgot to set ALLOW_ALL_HOST=true or ALLOWED_HOST=host on .env or have that host inside BLOCKED_HOST= , else there's no explanation unless you messed with NSFWModel.js or your dns server being dogshit, better check your DNS.

Tensorflow Error #1

I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. Platform node has already been set. Overwriting the platform with node. cpu backend was already registered. Reusing existing backend factory.

npm i node-pre-gyp -g && npm rebuild @tensorflow/tfjs-node --build-from-source

Clone this wiki locally