mirror of
https://github.com/cheikh2shift/godex.git
synced 2026-10-19 01:29:53 -05:00
fix: update model URL to correct path for EfficientNet model
This commit is contained in:
1 parent
7dbad20dc2
commit
6e5fa89dde
1 file changed
+2
-2
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
const (
|
||||
wasmURL = "https://raw.githubusercontent.com/cheikh2shift/godex/main/packaging/vision/vision.wasm"
|
||||
modelURL = "https://huggingface.co/onnxmodelzoo/efficientnet-lite4-11/resolve/main/model/efficientnet-lite4-11.onnx"
|
||||
modelURL = "https://huggingface.co/onnxmodelzoo/efficientnet-lite4-11/resolve/main/efficientnet-lite4-11.onnx"
|
||||
labelsURL = "https://raw.githubusercontent.com/anishathalye/imagenet-simple-labels/master/imagenet-simple-labels.json"
|
||||
)
|
||||
|
||||
@@ -109,7 +109,7 @@ func requiredPaths() (runtimePaths, error) {
|
||||
return runtimePaths{
|
||||
BaseDir: base,
|
||||
WasmPath: filepath.Join(base, "vision.wasm"),
|
||||
ModelPath: filepath.Join(base, "mobilenetv2-10.onnx"),
|
||||
ModelPath: filepath.Join(base, "efficientnet-lite4.onnx"),
|
||||
LabelsPath: filepath.Join(base, "labels.json"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user