andresribeiro / nsfwjs-docker Goto Github PK
View Code? Open in Web Editor NEWA Docker REST API for NSFW detection
License: MIT License
A Docker REST API for NSFW detection
License: MIT License
When I run the container using the same command defined in the README...
docker run -p 3333:3333 -d --name nsfwjs andresribeiroo/nsfwjs:1.6
...we can see the following error:
2024-05-06 15:31:16
2024-05-06 15:31:16 > [email protected] start /app
2024-05-06 15:31:16 > node dist/server.js
2024-05-06 15:31:16
2024-05-06 15:31:18 Illegal instruction
2024-05-06 15:31:18 ELIFECYCLE Command failed with exit code 132.
Any ideas?
Hello,
When I use GIF image with this command line:
curl -F "content=@/images/a.gif" "http://localhost:3333/single/multipart-form"
I have this error:
{"statusCode":500,"error":"Internal Server Error","message":"Invalid TF_Status: 3\nMessage: Input to reshape is a tensor with 451584 values, but the requested shape has 150528"}
Why? How can I fix this?
Thank you!
After I posted a jpg file by curl like this,
curl -F "[email protected]" "http://localhost:3333/single/multipart-form"
I got the replay
curl: (52) Empty reply from server
And then the server app has been terminated.
It doesn't seem to be particularly accurate. I want to try to replace it with a more accurate model
I cloned the project and did the normal installation without errors. however, after trying to start the project with npm start, this error simply appears in the console.
any solution tips?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.