G

Results 5 comments of G

@andywer Sorry about the late reply Some modules are not context aware as in, they can't be loaded more than once by several threads. This should shed more information about...

Oh that would be absolutely **perfect**. _Thank you a lot Andy!_

Oh wow, that does seem like a lot of work and sacrifices made. If it's too much, you should honestly not do it :D

@GantMan I did try to change it to 4 but I recieved `Error when checking : expected input_1 to have shape [null,224,224,3] but got array with shape [1,224,224,4].` Changed it...

@GantMan This is literally what I'm using :D ``` const nsfw = require('nsfwjs'), tf = require('@tensorflow/tfjs-node'), fetch = require("node-fetch"); async function predict(imageURL) { const model = await nsfw.load(); let imageFetched...