Skip to content Skip to sidebar Skip to footer

Python Not Working Correctly When Called From Nodejs App With Child-process

Im trying to run a python script that used deep learning model to classify an image wether it is NSFW or not, i use this script from here https://github.com/yahoo/open_nsfw and a c

Solution 1:

I have fixed this by adding pythonProcess.stderr.pipe(process.stderr); to my nodejs app and then i was able to see python errors and fixed them. There were mistakes in the python script.


Post a Comment for "Python Not Working Correctly When Called From Nodejs App With Child-process"