🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@qvac/classification-ggml

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qvac/classification-ggml - npm Package Compare versions

Comparing version
0.1.0
to
0.2.0
+4
-4
index.js

@@ -5,3 +5,3 @@ 'use strict'

const path = require('bare-path')
const process = require('bare-process')
const env = require('bare-env')
const QvacLogger = require('@qvac/logging')

@@ -16,4 +16,4 @@ const { createJobHandler, exclusiveRunQueue } = require('@qvac/infer-base')

function resolveDefaultModelPath () {
if (typeof process !== 'undefined' && process.env && process.env.QVAC_CLASSIFICATION_MODEL_PATH) {
return process.env.QVAC_CLASSIFICATION_MODEL_PATH
if (env.QVAC_CLASSIFICATION_MODEL_PATH) {
return env.QVAC_CLASSIFICATION_MODEL_PATH
}

@@ -79,3 +79,3 @@ return path.join(__dirname, 'weights', DEFAULT_WEIGHTS_FILENAME)

const disableNativeLogger = !this._nativeLogger ||
(process.env && process.env.QVAC_CLASSIFICATION_DISABLE_NATIVE_LOGGER === '1')
env.QVAC_CLASSIFICATION_DISABLE_NATIVE_LOGGER === '1'

@@ -82,0 +82,0 @@ try {

{
"name": "@qvac/classification-ggml",
"version": "0.1.0",
"version": "0.2.0",
"description": "GGML image classification addon for QVAC (MobileNetV3-Small CPU inference)",

@@ -62,3 +62,3 @@ "addon": true,

"brittle": "^3.16.5",
"cmake-bare": "1.7.5",
"cmake-bare": "^1.7.5",
"cmake-vcpkg": "^1.1.0",

@@ -71,5 +71,5 @@ "standard": "^17.0.0",

"@qvac/logging": "^0.1.0",
"bare-env": "^3.0.0",
"bare-fs": "^4.5.1",
"bare-path": "^3.0.0",
"bare-process": "^4.2.2"
"bare-path": "^3.0.0"
},

@@ -79,3 +79,2 @@ "engines": {

},
"peerDependencies": {},
"exports": {

@@ -82,0 +81,0 @@ "./package": "./package.json",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet