Added modelUrl support to tensorflow plugin.
parent
f178d2121c
commit
81ac3bd1ea
|
@ -24,7 +24,8 @@ module.exports = function(config){
|
|||
|
||||
async function loadCocoSsdModal() {
|
||||
const modal = await cocossd.load({
|
||||
base: config.cocoBase || 'lite_mobilenet_v2' //lite_mobilenet_v2
|
||||
base: config.cocoBase || 'lite_mobilenet_v2', //lite_mobilenet_v2
|
||||
modelUrl: config.cocoUrl,
|
||||
})
|
||||
return modal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue