allow changing tensorflow cocoBase from plugin's conf.json

+ default tensorflow plugin is now lite_mobilenet_v2 instead of mobilenet_v2
merge-requests/180/head
Moe 2020-03-10 18:39:09 -07:00
parent eacb68b978
commit a1da1feb9b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = function(config){
async function loadCocoSsdModal() {
const modal = await cocossd.load({
base: 'mobilenet_v2'
base: config.cocoBase || 'lite_mobilenet_v2' //lite_mobilenet_v2
})
return modal;
}